|
Smalltalk/X WebserverDocumentation of class 'UtcTimestamp': |
|
|
Class: UtcTimestampInheritance:Object | +--Magnitude | +--AbstractTime | +--Timestamp | +--UtcTimestamp
Description:
This is a Timestamp, that represents itself as UTC.
Internally it stores exactly the same value as Timestamp,
so the following expression is always true:
someTimestamp asUtcTimestamp = someTimestamp asLocalTimestamp
But when printing, accessing hour, minute, ... and converting to Date and Time,
it returns the values represented in the UTC zone instead of the local timezone.
Be aware that this may lead to interesting results; for example when converting a timestamp
to a date, you may get a different date from an UTCTimestamp and a local timestamp.
[instance variables:]
[class variables:]
Related information:
Time
Date
Instance protocol:accessing
|
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 08:35:39 GMT
|