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

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.

2023-01-11 11h49 53.png
2023-01-11 11h52 16.png
This page was edited 65 days ago on 03/15/2024. What links here