www.delorie.com/gnu/docs/glibc/libc_438.html   search  
 
Buy the book!


The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.4.6 Convert textual time and date information back

The ISO C standard does not specify any functions which can convert the output of the strftime function back into a binary format. This led to a variety of more-or-less successful implementations with different interfaces over the years. Then the Unix standard was extended by the addition of two functions: strptime and getdate. Both have strange interfaces but at least they are widely available.

21.4.6.1 Interpret string according to given format  
21.4.6.2 A More User-friendly Way to Parse Times and Dates  User-friendly function to parse data and time strings.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003