| Did you know ... | Search Documentation: |
| Get methods |
->sort.
The following example sorts a chain of file
objects according to their last modification time:
send(Files, sort,
?(@arg1?time, compare, @arg2?time))
.y
file converting many commonly used textual representations of date/time.
Before using the getdate.y library it
tries to convert the XML-Schema defined dateTime representation. See
also
date<-string, date<-rfc_string
and date<-xml_string.
Inherits description from: date->convert
to defaults to the
epoch. units defaults to seconds. Note that the result is returned as a
PCE integer and the maximum value of a PCE integer is not sufficient to
represent all time differences in second units. An error (int_range) is
generated on overflow.
See also date->before, date->equal
and date->after.
<-string.
The methods date<-print_name
and date<-convert
are used by class text_item
to represent and modify objects.
<-string<-string
in RFC compatible format. See also date<-xml_string.ctime().
It's format is:
_Mon Sep 14 17:23:18 1992_
See also date<-rfc_string
and date<-xml_string
for conversion to other popular representations.
Bugs: There is no way to manipulate the printed representations of a date apart from redefining this method from scratch.
<-print_name <-date<-string
in the XML-Schema defined dateTime format. The time is always
represented in UTZ (ending with a Z). See also
date<-rfc_string, date<-string
and date<-convert.
This format is defined as CCYY-MM-DDThh:mm:ss[Z|+-hh:mm].
See the XML schema definition for details.