We help IT Professionals succeed at work.

C# Date format

lankapala
lankapala asked
on
90 Views
Last Modified: 2017-11-01
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.
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2010
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION