# plain/parse

Industry: Core

- [`parseDateTimeWithPattern`](/gmt/reference/plain/parse/parseDateTimeWithPattern/): Parse a datetime string against a caller-supplied token pattern (e.g. `"dd/MM/yyyy HH:mm:ss"`, `"dd-MMM-yyyy h:mm a"`) and return it as an ISO `PlainDateTime` string.
- [`parseDateWithPattern`](/gmt/reference/plain/parse/parseDateWithPattern/): Parse a date string against a caller-supplied token pattern (e.g. `"dd/MM/yyyy"`, `"dd-MMM-yyyy"`) and return it as an ISO `PlainDate` string.
- [`parseDayFromDate`](/gmt/reference/plain/parse/parseDayFromDate/): Return the day of month (1-31) for a given ISO 8601 date string.
- [`parseDayFromDateTime`](/gmt/reference/plain/parse/parseDayFromDateTime/): Return the day of month (1-31) for a given ISO 8601 datetime string.
- [`parseDayOfWeekFromDate`](/gmt/reference/plain/parse/parseDayOfWeekFromDate/): Return the day of week (1-7) for a given ISO 8601 date string.
- [`parseDayOfWeekFromDateTime`](/gmt/reference/plain/parse/parseDayOfWeekFromDateTime/): Return the day of week (1-7) for a given ISO 8601 datetime string.
- [`parseHourFromDateTime`](/gmt/reference/plain/parse/parseHourFromDateTime/): Return the hour (00-23) for a given ISO 8601 datetime string.
- [`parseHourFromTime`](/gmt/reference/plain/parse/parseHourFromTime/): Return the hour (0-23) for a given ISO 8601 time string.
- [`parseMicrosecondFromDateTime`](/gmt/reference/plain/parse/parseMicrosecondFromDateTime/): Return the microsecond (0-999) for a given ISO 8601 datetime string.
- [`parseMicrosecondFromTime`](/gmt/reference/plain/parse/parseMicrosecondFromTime/): Return the microsecond (0-999) for a given ISO 8601 time string.
- [`parseMillisecondFromDateTime`](/gmt/reference/plain/parse/parseMillisecondFromDateTime/): Return the millisecond (0-999) for a given ISO 8601 datetime string.
- [`parseMillisecondFromTime`](/gmt/reference/plain/parse/parseMillisecondFromTime/): Return the millisecond (0-999) for a given ISO 8601 time string.
- [`parseMinuteFromDateTime`](/gmt/reference/plain/parse/parseMinuteFromDateTime/): Return the minute (0-59) for a given ISO 8601 datetime string.
- [`parseMinuteFromTime`](/gmt/reference/plain/parse/parseMinuteFromTime/): Return the minute (0-59) for a given ISO 8601 time string.
- [`parseMonthDay`](/gmt/reference/plain/parse/parseMonthDay/): Return the canonical `--MM-DD` form of an ISO month-day string.
- [`parseMonthDayFromDate`](/gmt/reference/plain/parse/parseMonthDayFromDate/): Return the month-day (`--MM-DD`) of an ISO 8601 date string.
- [`parseMonthDayFromDateTime`](/gmt/reference/plain/parse/parseMonthDayFromDateTime/): Return the month-day (`--MM-DD`) of an ISO 8601 date-time string.
- [`parseMonthDayWithPattern`](/gmt/reference/plain/parse/parseMonthDayWithPattern/): Parse a month-day string against a caller-supplied token pattern (e.g. `"MM-dd"`, `"d MMMM"`) and return it as an ISO month-day string, `--MM-DD`.
- [`parseMonthFromDate`](/gmt/reference/plain/parse/parseMonthFromDate/): Return the month (1-12) for a given ISO 8601 date string.
- [`parseMonthFromDateTime`](/gmt/reference/plain/parse/parseMonthFromDateTime/): Return the month (1-12) for a given ISO 8601 datetime string.
- [`parseNanosecondFromDateTime`](/gmt/reference/plain/parse/parseNanosecondFromDateTime/): Return the nanosecond (0-999) for a given ISO 8601 datetime string.
- [`parseNanosecondFromTime`](/gmt/reference/plain/parse/parseNanosecondFromTime/): Return the nanosecond (0-999) for a given ISO 8601 time string.
- [`parseSecondFromDateTime`](/gmt/reference/plain/parse/parseSecondFromDateTime/): Return the second (0-59) for a given ISO 8601 datetime string.
- [`parseSecondFromTime`](/gmt/reference/plain/parse/parseSecondFromTime/): Return the second (0-59) for a given ISO 8601 time string.
- [`parseSqlDateTime`](/gmt/reference/plain/parse/parseSqlDateTime/): Parse a SQL timestamp literal without a time zone — the `YYYY-MM-DD HH:MM:SS[.fff]` form of standard SQL `TIMESTAMP` and MySQL/SQLite `DATETIME` columns — into a plain ISO 8601 datetime string.
- [`parseTimeWithPattern`](/gmt/reference/plain/parse/parseTimeWithPattern/): Parse a time string against a caller-supplied token pattern (e.g. `"HH:mm:ss"`, `"h:mm a"`) and return it as an ISO `PlainTime` string.
- [`parseUnitFromDate`](/gmt/reference/plain/parse/parseUnitFromDate/): Return a specific date unit extracted from a PlainDate string.
- [`parseUnitFromDateTime`](/gmt/reference/plain/parse/parseUnitFromDateTime/): Return a specific unit extracted from a PlainDateTime string.
- [`parseUnitFromTime`](/gmt/reference/plain/parse/parseUnitFromTime/): Return a specific time unit extracted from a PlainTime string.
- [`parseWeekFromDate`](/gmt/reference/plain/parse/parseWeekFromDate/): Return the week number for a given ISO 8601 date string.
- [`parseWeekFromDateTime`](/gmt/reference/plain/parse/parseWeekFromDateTime/): Return the week number for a given ISO 8601 datetime string.
- [`parseYearFromDate`](/gmt/reference/plain/parse/parseYearFromDate/): Return the year for a given ISO 8601 date string.
- [`parseYearFromDateTime`](/gmt/reference/plain/parse/parseYearFromDateTime/): Return the year for a given ISO 8601 datetime string.
- [`parseYearMonth`](/gmt/reference/plain/parse/parseYearMonth/): Return the canonical `YYYY-MM` form of an ISO year-month string (`±YYYYYY-MM` outside 0000-9999).
- [`parseYearMonthFromDate`](/gmt/reference/plain/parse/parseYearMonthFromDate/): Return the year-month (`YYYY-MM`) of an ISO 8601 date string.
- [`parseYearMonthFromDateTime`](/gmt/reference/plain/parse/parseYearMonthFromDateTime/): Return the year-month (`YYYY-MM`) of an ISO 8601 date-time string.
- [`parseYearMonthWithPattern`](/gmt/reference/plain/parse/parseYearMonthWithPattern/): Parse a year-month string against a caller-supplied token pattern (e.g. `"MM/yyyy"`, `"MMMM yyyy"`) and return it as an ISO year-month string, `YYYY-MM`.
