![]() |
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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 04 Jun 2023 07:03:03 GMT
|