dojox.uuid.getTimestamp
dojo.require("dojox.uuid._base");
defined in dojox/uuid/_base.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.
parameter | type | description |
---|---|---|
uuidString | String | |
returnType | String | Optional. Any of these five values: "string", String, "hex", "date", Date |