Link to home
Start Free TrialLog in
Avatar of lankapala
lankapala

asked on

C# Date format

Hi, Following code is working in the VS2015 but not working in the 2012

DateTime startDate
startDate.ToUniversalTime():s

Open in new window

This one is working in the 2012 startDate.ToUniversalTime() But after enter startDate.ToUniversalTime():s, getting error.
Any idea appricate.
ASKER CERTIFIED SOLUTION
Avatar of zephyr_hex (Megan)
zephyr_hex (Megan)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lankapala
lankapala

ASKER