strptime


Description:

[ CCode ( cname = "strptime" , feature_test_macro = "_XOPEN_SOURCE" , instance_pos = -1 ) ]
public unowned string? strptime (string buf, string format)

Parse a time/date generated with GLib.Time.strftime or GLib.Time.format

Parameters:

buf

the string to parse

format

the expected format. See GLib.Time.format for details.

Returns:

a pointer to the character following the last parsed character, or null on failure.

See also:

GLib.Time.strftime, GLib.Time.format