core/builtins/date.cif
changeset 66 2a78c4ff2eab
parent 7 184a1eb85cf2
equal deleted inserted replaced
63:6a2083f7eeb8 66:2a78c4ff2eab
    61 
    61 
    62 Displays or sets the secure variant of the kernel's reckoning of time.
    62 Displays or sets the secure variant of the kernel's reckoning of time.
    63 
    63 
    64 ==option bool r raw
    64 ==option bool r raw
    65 
    65 
    66 Displays the time and date as the number of microseconds since 2000AD (Symbian OS's native time format).
    66 Displays the time and date as the number of microseconds since 0AD nominal Gregorian (Symbian OS's native time format).
    67 
    67 
    68 ==option bool j just-display
    68 ==option bool j just-display
    69 
    69 
    70 Rather than going ahead and setting the specified time and date, do a dry run and just displays it in human readable form. Must be used in conjunction with C<--set> or <--raw-set>. In effect it is an option to check that the set string has been parsed correctly before actually making the change.
    70 Rather than going ahead and setting the specified time and date, do a dry run and just displays it in human readable form. Must be used in conjunction with C<--set> or <--raw-set>. In effect it is an option to check that the set string has been parsed correctly before actually making the change.
    71 
    71 
    72 ==option int64 R raw-set
    72 ==option int64 R raw-set
    73 
    73 
    74 Sets the time and date from a number corresponding to the number of microseconds since 2000AD (Symbian OS's native time format).
    74 Sets the time and date from a number corresponding to the number of microseconds since 0AD nominal Gregorian (Symbian OS's native time format).
    75 
    75 
    76 ==option bool t timestamp
    76 ==option bool t timestamp
    77 
    77 
    78 Display the date in timestamp format C<YYYYMMDD-HHMM.SS> suitable for use in a file name.
    78 Display the date in timestamp format C<YYYYMMDD-HHMM.SS> suitable for use in a file name.
    79 
    79 
    80 ==option bool k kern
    80 ==option bool Y y2k
    81 
    81 
    82 Only applicable with C<--raw> and/or C<--raw-set>. Instead of using 2000AD as the epoc, use 0AD nominal Gregorian, the kernel's internal native time format.
    82 Only applicable with C<--raw> and/or C<--raw-set>. Instead of using 0AD as the epoc, assume 2000AD. Some APIs use 2000 instead of 0AD as the epoc so this option is occasionally useful for converting between the two.
    83 
    83 
    84 ==copyright
    84 ==copyright
    85 
    85 
    86 Copyright (c) 2006-2010 Accenture. All rights reserved.
    86 Copyright (c) 2006-2010 Accenture. All rights reserved.
    87 
    87 
       
    88 ==smoke-test
       
    89 
       
    90 date $Quiet
       
    91 date --raw $Quiet
       
    92 date --timestamp $Quiet