getFormattedTimestamp()

Return the date and the time in format YYYY:MM:DD-hh:mm:ss

Method signature

function getFormattedTimestamp()

Example

var dateTime = CircularProtocolAPI.getFormattedTimestamp();

Result

The result will be an object of type String:

2024:10:09-21:45:00

Last updated