Skip to content

__strptime__

builtin · libnexusinterp/corefcn/time-proprietary.cc

: [tm_struct, nchars] = __strptime__ (str, fmt)

Parse the date and time contained in the string str according to the format string fmt.

The recognized components are returned in the broken-down structure tm_struct, and nchars gives the number of characters of str that were consumed, which can be used to detect an incomplete or failed match.