# Synopsis

PDX_MSGT step_GetDateTime(long option, char *string)

# Purpose

Return the current date/time in STEP format.

# Description

This function returns the current system date and time in STEP format (YYYY-MM-DDTHH:NN:SS): '1992-04-28T09:15:01'

.nf YYYYY is year : 1992 MM is month(01-12) : 04 DD is day (01-31) : 28 HH is hour (00-23) : 09 NN is minute(00-59) : 15 SS is second(00-59) : 01 .fi

The string buffer should be dimensioned to at least 21 characters. The returned string will be in null-terminated format.

# Input

## option

Options (not used)

## string

Address of a 21+ character buffer to store string

# Output

## string

Buffer loaded with date/time string

# Return

STEP_NOERR