Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
[FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time [message #14041] Thu, 07 February 2008 15:39 Go to previous message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
UTC time formatted by ISO 8601 standard is very common now and is the default DateTime format for all XML documents. It would be great to have simple functions that can turn a Time object into a UTC ISO 8601 formatted String and also to create a Time object from a UTC ISO 8601 String.

Creating a UTC String is as simple as:
String utc = FormatTime(t, "YYYY-DD-MMThh:mm:ss");

But converting a UTC String to Time is a bit more difficult. I have tried to use the StrToDate(time_object, utc_string) function, and it does parse the date correctly, but I can only receive a Date object from this, not the time details as well.

StrToTime would be great, especially with UTC ISO 8601 support.

Thanks.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Small Correction about Vista/GLCtrl corrections
Next Topic: Missing methods in Win32 version of GLCtrl
Goto Forum:
  


Current Time: Mon Apr 29 04:56:39 CEST 2024

Total time taken to generate the page: 0.03401 seconds