I'm awefully new at perl.
*and dutch so...*
I have a xml file, I want to display the date, and this is what it returns *in perl*:
2008-10-24T15:37:44.129690Z
What I want it to return is: 24-10-2008 15:37
How do I do this?
I tried using date::Format, perhaps I did something wrong, but i can't get it to work properly...
thanks in advanced
wesley
please post your best effort at Date::Format and we can probably fix it.
you need to massage the time string to create an input for time2str.
your time2str conversion format should be:
%d-%m-%Y %H:%M
Is it Feb 11th or 2nd November?
That very much depends on the reader, which is why you ought to consider using the ISO 8601 format on your website as the default format. In the Netherlands see NEN ISO 8601 (1994) and NEN EN 28601 (1994) and later revisions (2000, and 2004?).