Skip to content

suzumura-ss/time_iso8601

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

=== The ISO8601 time format for C++
Copyright 2010 Toshiyuki Terashita.

sample:
  // t is initialized by time(NLLL).
  TimeIso8601 t(NULL);

  // Convert to string. ex: "2010-09-29T12:24:56+0900" // Set to the time.
  std::string str = t;

  // Set to time of "2000-01-04T12:00:00+0900".
  t = "2000-01-04T12:00:00-0900"

  // Convert to time_t
  time_t tm = t; 

About

The ISO8601 time format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published