Jump to content

[SOLVED] Convert datetimestring - 2009-08-25T13:15:00.000Z


the182guy

Recommended Posts

Hi all,

 

What's the best way to convert this datetime string into HH:MM?

 

Example string is 2009-08-25T13:15:00.000Z

 

I can easily parse the 13:15 out of that but the problem is the Daylight Savings Time. The timestring is not in DST, so they are 1hr behind, I need to somehow add 1 hour to the time if we're currently in DST.

 

Any ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.