Name

DateTimeToString — Convert a datetime to the string

Synopsis

DateTimeToString (ARRAY);

Returns

STRING

Parameters

Name Type Default Description
ARRAY array

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/datetimetostr.html

Difference from AmiBroker: Returns a string in the format YYYY-MM-DD HH:MM:SS

Convert a datetime to the string