J
JamesG
Hi,
I need to convert the current time to the format "hh:mm:ss" and date
to the format "yyyy-MM-dd".
The result of both conversions needs to be of System.DateTime format.
I've tried using DateTime.ParseExact and DateTimeFormatInfo but
failed, most examples I see convert the final result to a string... I
dont want that!
Thanks for help
I need to convert the current time to the format "hh:mm:ss" and date
to the format "yyyy-MM-dd".
The result of both conversions needs to be of System.DateTime format.
I've tried using DateTime.ParseExact and DateTimeFormatInfo but
failed, most examples I see convert the final result to a string... I
dont want that!
Thanks for help