parseDate(text,format,timezone)¶
Definition¶
Long parseDate(String text, String format, String timezone)
Description¶
Converts a string to a unix epoch time. Returns a Long or null.
Parameter Definition¶
Name | Type | Description |
---|---|---|
text | String | String to parse |
format | String | Pattern to expect string to be in, see java SimpleDateFormat for options |
timezone | String | Timezone to expect string is in |