Copyright © 2016 Mobilengine Corp. All rights reserved. version: 7.0.4.19927
Converts a string representation of a datetime value to its dtu equivalent.
Parameters
| Parameter | Type | Description |
|---|---|---|
| date-format (required) | dtf | The date formatting instructions used for the conversion. |
| string (required) | The string to be converted into a dtu object. |
Returns
The dtu value
equivalent to the string parameter that conforms to the date-format parameter. Returns
undefined if the string parameter cannot be parsed using the formatting
instructions in the date-format parameter.
