# MAKETIMESTAMP

Updated: 10/19/2021, 9:29:48 PM
Created: 10/19/2021, 9:29:48 PM
Last Updated By: Kevin Munoz
Read Time: 1 minute(s)

Tags: system time

# Description

The function generates a timestamp using a combination of Internal Date, Internal Time and Timezone. This takes the general form:

MAKETIMESTAMP(InternalDate, InternalTime, TimeZone)
1

The function to generates a timestamp using a specified Timezone. The Internal Date and Internal Time values are combined together with the time zone specification to return a UTC timestamp as decimal seconds.

An example of use is:

timestamp = MAKETIMESTAMP(DATE(), TIME(), "EST5EDT")
1

Note: The jtimezones command will list the available timezones.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide