Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.
C++ Boost

Posix Time System Documentation

 


Overall Index -- Gregorian Index

Temporal Types

Class ptime -- Class time_duration -- Class time_period

Other Topics

Time Iterators -- UTC / Local Time Adjustments

Introduction

Defines a non-adjusted time system with nano-second resolution and stable calculation properties. This time system uses the Gregorian calendar to implement the date portion of the time representation.

Usage Examples

ExampleDescription
Time MathA few simple calculations using ptime and time_durations.
Print HoursRetrieve time from clock, use a time_iterator.
Local to UTC ConversionDemonstrates a couple different ways to convert a local to UTC time including daylight savings rules.
Time periodsSome simple examples of intersection and display of time periods.

Last modified: Thu Sep 5 06:19:36 MST 2002 by Jeff Garland © 2000-2002