[squeak-dev] Re: Date[And]Time fractional seconds printing

Andreas Raab andreas.raab at gmx.de
Sun Aug 29 17:26:58 UTC 2010


On 8/29/2010 3:49 AM, Bernhard Pieber wrote:
> Hi Andreas,
>
> Am 29.08.2010 um 04:18 schrieb Andreas Raab:
>> BTW, does anyone know what the result of "Date[And]Time now" is in other systems? What do VW, GST, and others return? Whole seconds or fractional?
>
> On VA Smalltalk 8.0.2 I get the following when I print it:
> DateAndTime now 2010-08-29T12:47:26.778+01:00

Thanks. Is there a method to retrieve the current time with seconds 
accuracy, or round it to seconds or similar?

Cheers,
   - Andreas



More information about the Squeak-dev mailing list