troubleshooting Question

Format Date to Iso c

Avatar of sanjshah12
sanjshah12Flag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft SQL ServerJavaScriptASP
4 Comments1 Solution451 ViewsLast Modified:
Hi,

I have 2 fields in my DB that are required to be formatted to JS iso c format, i.e.

Mon Jun 11 2012 10:00:00 GMT+0100 (GMT Daylight Time)

the fields in my DB are set to 21/10/2012 and 10:00

is there an easy way to format this to the required format?

I can do the right hand part by concatenation :

StartTime & ":00 GMT+0100 (GMT Daylight Time)"

but struggling with the left hand part.

Thanks
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros