Skip to content

SudoSOS Back-end API / helpers / toUTCMySQLString

Function: toUTCMySQLString() ​

ts
function toUTCMySQLString(date): string;

Print the date to a string in MySQL format (YYYY-MM-DD mm:hh:ss), but convert it to UTC

Parameters ​

ParameterTypeDescription
dateDate-

Returns ​

string