krash0r
asked on
equiv of vb's #1/1/2001#
hi all,
just a simple one - how does one write date literals in c#? (can we?)
trying to turn a vb code snippet:
Calendar1.SelectedDate = #12:00:00 AM#
into c#
TIA
just a simple one - how does one write date literals in c#? (can we?)
trying to turn a vb code snippet:
Calendar1.SelectedDate = #12:00:00 AM#
into c#
TIA
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Calendar1.SelectedDate = DateTime.Parse("8:30:40 PM");
ASKER
ah that's ok then. yea I'll just have to resort to DateTime.Parse! cheers