Unix timestamp conversion function


Version: 2020b

Type: Features

Category: Programming

Subcategory: Labtalk

Jira: ORG-21674


New function to convert to and from Unix timestamps.

double UnixTime(d1[, d2, n])

Where d1 is a Unix timestamp or Julian date, d2 is a timezone offset (default 0), if n=0 (default) convert from Unix time stamp to Julian date. If n=1 it convert from Julian date to Unix timestamp. Supports vectors for SCV usage.