[Pharo-project] Date time iso8601 format

Stéphane Ducasse stephane.ducasse at inria.fr
Sun Nov 7 19:51:49 CET 2010


On Nov 7, 2010, at 1:55 PM, laurent laffont wrote:

> 
> On Sun, Nov 7, 2010 at 1:50 PM, laurent laffont <laurent.laffont at gmail.com> wrote:
> The other way. For example
> 
> DateAndTime now printISO8601   
> 
> Laurent
> 
> 
> It seems Chronos http://chronos-st.org/ has such formatters (ISO8601PrintPolicy) but AnsiStandardCalendarClock is missing in Pharo....

Why do you mean missing in pharo?
When you load chronos this is not there.
May be you should contact the author and ask.
> 
> Laurent
>  
> 
> 
> On Sun, Nov 7, 2010 at 1:28 PM, Johan Brichau <johan at inceptive.be> wrote:
> Laurent,
> 
> DateAndTime readFrom: '2008-02-10T12:00:00Z' readStream
> 
> Does that yield what you want?
> 
> cheers
> Johan
> 
> On 06 Nov 2010, at 15:07, laurent laffont wrote:
> 
>> Hi,
>> 
>> I cannot find which method to use to get a Date in iso 8601 format like '2008-02-10T12:00:00Z'  ?
>> 
>> 
>> Cheers,
>> 
>> Laurent Laffont
>> 
>> Pharo Smalltalk Screencasts: http://www.pharocasts.com/
>> Blog: http://magaloma.blogspot.com/
> 
> 
> 





More information about the Pharo-project mailing list