J
Jon S via DotNetMonster.com
Hi all
If the date and time on my computer is 23/02/06 15:43:20 and I do the
following:
DateTime dt;
dt = DateTime.today();
The variable 'dt' has the value '23/02/06 15:43:20'.
How can I make it so the time will always be 00:00:00. For example:
'dt' has the value '23/02/06 00:00:00'
Thanks in advance.
If the date and time on my computer is 23/02/06 15:43:20 and I do the
following:
DateTime dt;
dt = DateTime.today();
The variable 'dt' has the value '23/02/06 15:43:20'.
How can I make it so the time will always be 00:00:00. For example:
'dt' has the value '23/02/06 00:00:00'
Thanks in advance.