libtime++: Date and time calculation
now.cc File Reference

return system time (implementation) More...

#include <libtime++.h>
#include <ctime>
Include dependency graph for now.cc:

Go to the source code of this file.

Namespaces

 libtime
 

Macros

#define TF_NOW_CC_VERSION   "TF_NOW_CC V1.2"
 

Functions

TAbsoluteTime libtime::now ()
 return system time More...
 
TAbsoluteTime libtime::utc ()
 return system time in UTC More...
 

Detailed Description

return system time (implementation)


Author
Thomas Forbriger
Date
06/02/2004

return system time (implementation)

Copyright (c) 2004 by Thomas Forbriger (BFO Schiltach)


libtime is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

REVISIONS and CHANGES

  • 06/02/2004 V1.0 Thomas Forbriger
  • 25/11/2008 V1.1 added function utc()
  • 11/11/2009 V1.2 header ctime is required for time structs

Definition in file now.cc.