Link to home
Create AccountLog 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
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of lankapala
lankapala

ASKER