Skip to content

SudoSOS Back-end API / helpers / toMySQLString

Function: toMySQLString() ​

ts
function toMySQLString(date): string;

Print the date to a string in MySQL format (YYYY-MM-DD mm:hh:ss)

Parameters ​

ParameterTypeDescription
dateDate-

Returns ​

string