Home » U++ Library support » U++ Library : Other (not classified elsewhere) » [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time [message #18475 is a reply to message #18404] |
Thu, 02 October 2008 21:32   |
captainc
Messages: 278 Registered: December 2006 Location: New Jersey, USA
|
Experienced Member |
|
|
Simple function I used in my program:
Time UTCStrToTime(String utc_str){
//utc example: 2006-01-04T21:59:11
int year = StrInt(utc_str.Left(4));
int month = StrInt(utc_str.Mid(5,2));
int day = StrInt(utc_str.Mid(8,2));
int hour = StrInt(utc_str.Mid(11,2));
int minute = StrInt(utc_str.Mid(14,2));
int second = StrInt(utc_str.Mid(17,2));
return Time(year, month, day, hour, minute, second);
}
|
|
|
 |
|
[FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: captainc on Thu, 07 February 2008 15:39
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: mirek on Thu, 07 February 2008 22:21
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: koldo on Tue, 23 September 2008 13:52
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: mirek on Tue, 23 September 2008 17:37
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: koldo on Tue, 23 September 2008 22:04
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: mirek on Wed, 24 September 2008 22:18
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: koldo on Fri, 26 September 2008 12:04
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: captainc on Thu, 02 October 2008 21:32
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: koldo on Fri, 03 October 2008 07:51
|
 |
|
Re: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
By: captainc on Sat, 04 October 2008 22:53
|
Goto Forum:
Current Time: Mon Jun 30 19:45:29 CEST 2025
Total time taken to generate the page: 0.03465 seconds
|