Unix Programming - code to generate XML time string

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > October 2007 > code to generate XML time string





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author code to generate XML time string
Stu

2007-10-25, 7:22 pm

Is there a function or agrument I can pass to a funciton to generate a
XML time string.

note this is in UTC time

Ie
2002-10-10T17:00:00Z

Måns Rullgård

2007-10-25, 7:22 pm

Stu <beefstu350@hotmail.com> writes:

> Is there a function or agrument I can pass to a funciton to generate a
> XML time string.


I've no idea what an "XML time string" is, but maybe strftime() can be
used.

--
Måns Rullgård
mans@mansr.com
Logan Shaw

2007-10-26, 7:34 am

Stu wrote:
> Is there a function or agrument I can pass to a funciton to generate a
> XML time string.
>
> note this is in UTC time
>
> Ie
> 2002-10-10T17:00:00Z


That looks an awful lot like an ISO 8601 time string to me. Knowing what
the format is that you're looking for should help you find some code that
generates it.

- Logan
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com