dojox.uuid.Uuid.getTimestamp
dojo.require("dojox.uuid.Uuid");
defined in dojox/uuid/Uuid.js
If this is a version 1 UUID (a time-based UUID), this method returns the timestamp value encoded in the UUID. The caller can ask for the timestamp to be returned either as a JavaScript Date object or as a 15-character string of hex digits.
Usage
function (/*String?*/ returnType) (view source)
parameter | type | description |
---|---|---|
returnType | String | Optional. Any of these five values: "string", String, "hex", "date", Date |