"UnixTime" (Interpreter Type)

Unix time specification in terms of number of seconds that have elapsed since January 1, 1970, 00:00:00 Coordinated Universal Time (UTC), not counting leap seconds.

Details

  • "UnixTime" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "UnixTime" does not require connectivity to the Wolfram Cloud.

Allowed Forms

  • 1234567positive integers
    -1234567negative integers
    1,234,567integers with separators

Restriction Specifications

Options

  • The following options can be used:
  • DigitBlockInfinitynumber of digits between breaks
    NumberSeparator{","," "}string to insert at breaks between blocks
    NumberSigns{"-",""}strings to use for signs of negative and positive numbers

Interpretation

Examples

Basic Examples  (3)

Interpret Unix times:

Use negative integers for times before January 1, 1970, 00:00:00 UTC:

Restrict the value to be within a given range:

Use a custom number separator:

Set a resolution of minutes: