Login  Register

DateAndTime>>asTime

Posted by dmacq on Jun 05, 2013; 10:40pm
URL: https://forum.world.st/DateAndTime-asTime-tp4691870.html

In Pharo V2, if I execute this snippet:

| x |
x := DateAndTime year: 1991 day: 196 hour: 20 minute: 5 second: 7.
x asTime inspect

I get '12:0-54:0-53 am' which is not what I expect.

DateAndTime>>asTime changed from 1.4 to 2.0.

Any ideas?

Thanks

Donald [|]