Convert day-first dates with the right locale (school)
Claim dates are written 05/03/2026 meaning 5 March. Convert them to real dates using the en-GB culture.
- Level
- intermediate
- Time
- ~8 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Use a culture when converting text to dates so day and month aren't swapped.
The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.
Input
- ClaimsFile (file)
- Text file; first line: ClaimID,Employee,ClaimDate,Amount
- Every field is text until you set types
Expected output columns
ClaimID (text), ClaimDate (date), Amount (number)