Next: , Previous: , Up: DateTime   [Index]


1.60.7 DateTime: splitting in dates & times

asDate

Answer a Date referring to the same day as the receiver

asTime

Answer a Time referring to the same time (from midnight) as the receiver

at: anIndex

Since in the past timestamps were referred to as Arrays containing a Date and a Time (in this order), this method provides access to DateTime objects like if they were two-element Arrays.