Date vs Time
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
When you want the user to edit a date, | When you want the user to edit a date, use the DateTime datatype. | ||
If you only need the Time part | If you only need the Time part or need the user to edit the Time part in isolation, use the TimeSpan datatype. | ||
[[File:2023-01-11 11h49 53.png|none|thumb]] | [[File:2023-01-11 11h49 53.png|none|thumb]] | ||
[[File:2023-01-11 11h52 16.png|none|thumb]] | [[File:2023-01-11 11h52 16.png|none|thumb]] |
Revision as of 05:41, 30 June 2023
This page was created by Hans.karlsen on 2023-01-11. Last edited by Edgar on 2025-01-20.
When you want the user to edit a date, use the DateTime datatype.
If you only need the Time part or need the user to edit the Time part in isolation, use the TimeSpan datatype.