SudoSOS Back-end API / helpers / toLocalMySQLString
Function: toLocalMySQLString() ​
ts
function toLocalMySQLString(date): string;Print the date to a string in MySQL format (YYYY-MM-DD mm:hh:ss), but keep it in the local timezone
Parameters ​
| Parameter | Type | Description |
|---|---|---|
date | Date | - |
Returns ​
string