Skip to main content

simpleDateTime()

function simpleDateTime(date, _debugLocale?): string;

Takes any date as accepted by new Date(x) where x is the date and returns the date as a string in the format yyyy-mm-dd hh:mm:ss

Parameters

ParameterTypeDefault value
dateReactorDateTypeundefined
_debugLocalebooleanfalse

Returns

string

Deprecated

use displayDateTime instead