Date vs Time
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
When you want the user to edit a date you use the DateTime datatype. | When you want the user to edit a date, you 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 | 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 06:09, 29 March 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, you 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.