WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center
Wolfram Language Home Page »

"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

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

Restriction Specifications

Options

  • The following options can be used:
  • DigitBlock Infinity number 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:

See Also

Interpreter   Restricted   Failure   FromUnixTime

Interpreter Types: Time   Date   DateTime   DayOfWeek   ExcelDate   StructuredTime   ComputedTime   StructuredDate   ComputedDate   StructuredDateTime   ComputedDateTime

History

Introduced in 2015 (10.2)

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /