Methods
xTo(typeopt) → {external:String}
This:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
type |
external:String |
<optional> |
"json" | data format |
- Implements:
- Source:
Returns:
- Type
- external:String
Example
new Date('2015-07-13').xTo(); // '"2015-07-13T00:00:00.000Z"'