Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e6f1a3debfddb2a6cccaab627266a0ea > files > 5400

mrpt-doc-0.9.0-0.5.fc14.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>The MRPT project: datetime.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>datetime.h File Reference</h1><code>#include &lt;<a class="el" href="utils__defs_8h_source.html">mrpt/utils/utils_defs.h</a>&gt;</code><br/>
<div class="dynheader">
Include dependency graph for datetime.h:</div>
<div class="dynsection">
<div class="center"><img src="datetime_8h__incl.png" border="0" usemap="#datetime_8h_map" alt=""/></div>
<map name="datetime_8h_map" id="datetime_8h">
<area shape="rect" id="node3" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="1352,83,1499,112"/><area shape="rect" id="node7" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="317,160,440,189"/><area shape="rect" id="node20" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="820,392,991,421"/><area shape="rect" id="node23" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="1152,469,1301,499"/><area shape="rect" id="node25" href="types_8h.html" title="mrpt/utils/types.h" alt="" coords="515,237,637,267"/><area shape="rect" id="node83" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="1052,160,1279,189"/><area shape="rect" id="node38" href="pstdint_8h.html" title="pstdint.h" alt="" coords="384,315,456,344"/><area shape="rect" id="node46" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="480,315,643,344"/><area shape="rect" id="node85" href="containers__fixes_8hpp.html" title="containers_fixes.hpp" alt="" coords="1320,315,1461,344"/><area shape="rect" id="node87" href="exceptions_8hpp.html" title="exceptions.hpp" alt="" coords="1203,237,1312,267"/><area shape="rect" id="node94" href="atomic__incr_8h.html" title="mrpt/synch/atomic_incr.h" alt="" coords="949,315,1117,344"/><area shape="rect" id="node98" href="smart__ptr_8tpp.html" title="smart_ptr.tpp" alt="" coords="1029,237,1128,267"/></map>
</div>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<div class="center"><img src="datetime_8h__dep__incl.png" border="0" usemap="#datetime_8hdep_map" alt=""/></div>
<map name="datetime_8hdep_map" id="datetime_8hdep">
<area shape="rect" id="node3" href="_c_matrix_template_8h.html" title="CMatrixTemplate.h" alt="" coords="3802,83,3935,112"/><area shape="rect" id="node60" href="system_8h.html" title="system.h" alt="" coords="3386,237,3461,267"/><area shape="rect" id="node66" href="mrpt_event_8h.html" title="mrptEvent.h" alt="" coords="3069,83,3162,112"/><area shape="rect" id="node96" href="_c_observation_8h.html" title="CObservation.h" alt="" coords="1865,160,1977,189"/><area shape="rect" id="node152" href="_c_action_8h.html" title="CAction.h" alt="" coords="3485,237,3565,267"/><area shape="rect" id="node5" href="_c_matrix_template_numeric_8h.html" title="CMatrixTemplateNumeric.h" alt="" coords="4386,160,4567,189"/><area shape="rect" id="node42" href="_c_config_file_base_8h.html" title="CConfigFileBase.h" alt="" coords="3273,160,3403,189"/><area shape="rect" id="node49" href="_c_robotic_head_interface_8h.html" title="CRoboticHeadInterface.h" alt="" coords="3674,315,3845,344"/><area shape="rect" id="node51" href="_c_matrix_template_objects_8h.html" title="CMatrixTemplateObjects.h" alt="" coords="4031,160,4210,189"/><area shape="rect" id="node53" href="_c_binary_relation_8h.html" title="CBinaryRelation.h" alt="" coords="4234,160,4362,189"/><area shape="rect" id="node55" href="_c_generalized_cylinder_8h.html" title="CGeneralizedCylinder.h" alt="" coords="3847,160,4007,189"/><area shape="rect" id="node58" href="_c_angular_observation_mesh_8h.html" title="CAngularObservationMesh.h" alt="" coords="2789,392,2978,421"/><area shape="rect" id="node7" href="_c_kalman_filter_capable_8h.html" title="CKalmanFilterCapable.h" alt="" coords="4395,547,4558,576"/><area shape="rect" id="node9" href="_c_vector_template_8h.html" title="CVectorTemplate.h" alt="" coords="4410,237,4543,267"/><area shape="rect" id="node12" href="base_2include_2mrpt_2math_2utils_8h.html" title="utils.h" alt="" coords="4514,469,4570,499"/><area shape="rect" id="node15" href="ops__vectors_8h.html" title="ops_vectors.h" alt="" coords="4617,315,4721,344"/><area shape="rect" id="node18" href="_c_matrix_8h.html" title="CMatrix.h" alt="" coords="4261,315,4338,344"/><area shape="rect" id="node20" href="ops__matrices_8h.html" title="This file implements miscelaneous matrix and matrix/vector operations, plus internal..." alt="" coords="4321,392,4430,421"/><area shape="rect" id="node29" href="_c_matrix_d_8h.html" title="CMatrixD.h" alt="" coords="4149,315,4237,344"/><area shape="rect" id="node23" href="_c_observation_image_8h.html" title="CObservationImage.h" alt="" coords="3215,392,3365,421"/><area shape="rect" id="node25" href="obs_8h.html" title="obs.h" alt="" coords="2090,469,2143,499"/><area shape="rect" id="node27" href="slam_8h.html" title="slam.h" alt="" coords="1330,469,1391,499"/><area shape="rect" id="node32" href="_c_observation_i_m_u_8h.html" title="CObservationIMU.h" alt="" coords="3002,392,3141,421"/><area shape="rect" id="node44" href="_c_generic_sensor_8h.html" title="CGenericSensor.h" alt="" coords="3021,237,3149,267"/><area shape="rect" id="node46" href="_c_camera_sensor_8h.html" title="CCameraSensor.h" alt="" coords="3015,315,3146,344"/><area shape="rect" id="node62" href="base_8h.html" title="base.h" alt="" coords="3170,315,3231,344"/><area shape="rect" id="node64" href="_c_h_m_t_s_l_a_m_8h.html" title="CHMTSLAM.h" alt="" coords="3509,469,3615,499"/><area shape="rect" id="node68" href="_c_observable_8h.html" title="CObservable.h" alt="" coords="2969,160,3078,189"/><area shape="rect" id="node70" href="base_2include_2mrpt_2utils_8h.html" title="utils.h" alt="" coords="3173,237,3229,267"/><area shape="rect" id="node89" href="_c_observer_8h.html" title="CObserver.h" alt="" coords="3153,160,3249,189"/><area shape="rect" id="node93" href="_c_metric_map_events_8h.html" title="CMetricMapEvents.h" alt="" coords="2582,160,2726,189"/><area shape="rect" id="node73" href="_c_metric_map_8h.html" title="CMetricMap.h" alt="" coords="2382,237,2486,267"/><area shape="rect" id="node75" href="_c_observation2_d_range_scan_8h.html" title="CObservation2DRangeScan.h" alt="" coords="2098,315,2295,344"/><area shape="rect" id="node83" href="_c_planar_laser_scan_8h.html" title="CPlanarLaserScan.h" alt="" coords="2255,392,2397,421"/><area shape="rect" id="node77" href="_c_sensory_frame_8h.html" title="CSensoryFrame.h" alt="" coords="2002,392,2130,421"/><area shape="rect" id="node101" href="_c_observation_gas_sensors_8h.html" title="CObservationGasSensors.h" alt="" coords="733,392,917,421"/><area shape="rect" id="node105" href="_c_observation3_d_range_scan_8h.html" title="CObservation3DRangeScan.h" alt="" coords="1586,392,1783,421"/><area shape="rect" id="node110" href="_c_observation_g_p_s_8h.html" title="CObservationGPS.h" alt="" coords="941,392,1082,421"/><area shape="rect" id="node114" href="_c_observation_bearing_range_8h.html" title="CObservationBearingRange.h" alt="" coords="1157,392,1351,421"/><area shape="rect" id="node118" href="_c_observation_visual_landmarks_8h.html" title="CObservationVisualLandmarks.h" alt="" coords="171,237,385,267"/><area shape="rect" id="node122" href="_c_observation_range_8h.html" title="CObservationRange.h" alt="" coords="1986,237,2135,267"/><area shape="rect" id="node128" href="_c_observation_stereo_images_8h.html" title="CObservationStereoImages.h" alt="" coords="463,392,658,421"/><area shape="rect" id="node133" href="_c_observation_beacon_ranges_8h.html" title="CObservationBeaconRanges.h" alt="" coords="237,392,439,421"/><area shape="rect" id="node137" href="_c_observation_battery_state_8h.html" title="CObservationBatteryState.h" alt="" coords="1375,392,1562,421"/><area shape="rect" id="node142" href="_c_observation_odometry_8h.html" title="CObservationOdometry.h" alt="" coords="1807,392,1978,421"/><area shape="rect" id="node146" href="_c_observation_comment_8h.html" title="CObservationComment.h" alt="" coords="42,392,213,421"/><area shape="rect" id="node154" href="_c_action_robot_movement2_d_8h.html" title="CActionRobotMovement2D.h" alt="" coords="3306,315,3498,344"/><area shape="rect" id="node156" href="_c_action_collection_8h.html" title="CActionCollection.h" alt="" coords="3439,392,3578,421"/><area shape="rect" id="node165" href="_c_action_robot_movement3_d_8h.html" title="CActionRobotMovement3D.h" alt="" coords="2471,392,2663,421"/></map>
</div>

<p><a href="datetime_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1system_1_1_t_time_parts.html">mrpt::system::TTimeParts</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The parts of a date/time (it's like the standard 'tm' but with fractions of seconds).  <a href="structmrpt_1_1system_1_1_t_time_parts.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr>

<p><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p>
<br/></td></tr>
</p>
<tr><td class="memItemLeft" align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html">mrpt::system</a></td></tr>

<p><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>This namespace provides a OS-independent interface to many useful functions: filenames manipulation, time and date, string parsing, file I/O, threading, memory allocation, etc. </p>
<br/></td></tr>
</p>
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="datetime_8h.html#a2a0a650d16403da1f447b7543ce68e2b">INVALID_TIMESTAMP</a>&nbsp;&nbsp;&nbsp;(0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents an invalid timestamp, where applicable.  <a href="#a2a0a650d16403da1f447b7543ce68e2b"></a><br/></td></tr>
<tr><td colspan="2"><h2>Time and date functions</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrp6b701dbdcb62fd35567a8c7ab3596ad7"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef uint64_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A system independent time type, it holds the the number of 100-nanosecond intervals since January 1, 1601 (UTC).  <a href="#a42674286d8d56afea013b6329bb7327a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#ae5c2069a367dd2255a98a57997ecd6dd">mrpt::system::buildTimestampFromParts</a> (const <a class="el" href="structmrpt_1_1system_1_1_t_time_parts.html">mrpt::system::TTimeParts</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Builds a timestamp from the parts (Parts are in UTC).  <a href="#ae5c2069a367dd2255a98a57997ecd6dd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#ac47630067af4e9d3a10bdec99dc2c89f">mrpt::system::buildTimestampFromPartsLocalTime</a> (const <a class="el" href="structmrpt_1_1system_1_1_t_time_parts.html">mrpt::system::TTimeParts</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Builds a timestamp from the parts (Parts are in local time).  <a href="#ac47630067af4e9d3a10bdec99dc2c89f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#aea0cf13ef6fcea522d61f857784492b0">mrpt::system::timestampToParts</a> (TTimeStamp t, TTimeParts &amp;p, bool localTime=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the individual parts of a date/time (days, hours, minutes, seconds) - UTC time or local time.  <a href="#aea0cf13ef6fcea522d61f857784492b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a8ffef5e63c4e445f2134f4e237a8547a">mrpt::system::getCurrentTime</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the current (UTC) system time.  <a href="#a8ffef5e63c4e445f2134f4e237a8547a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a8cfac7450724f121d3a6a40a4b9ce205">mrpt::system::now</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A shortcut for <a class="el" href="namespacemrpt_1_1system.html#a8ffef5e63c4e445f2134f4e237a8547a" title="Returns the current (UTC) system time.">system::getCurrentTime</a>.  <a href="#a8cfac7450724f121d3a6a40a4b9ce205"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a2ef2346fc2d6bc3fd59067cfb63664e9">mrpt::system::getCurrentLocalTime</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the current (local) time.  <a href="#a2ef2346fc2d6bc3fd59067cfb63664e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a6a61ebdcaac6a46c162da8c5c1d94c18">mrpt::system::time_tToTimestamp</a> (const double &amp;t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transform from standard "time_t" (actually a double number, it can contain fractions of seconds) to TTimeStamp.  <a href="#a6a61ebdcaac6a46c162da8c5c1d94c18"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#ae48e0b5adc75674689b40655c20adce3">mrpt::system::time_tToTimestamp</a> (const time_t &amp;t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transform from standard "time_t" to TTimeStamp.  <a href="#ae48e0b5adc75674689b40655c20adce3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a174de88e05dcdb49a3ddd7bde16bdc20">mrpt::system::timestampTotime_t</a> (const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transform from TTimeStamp to standard "time_t" (actually a double number, it can contain fractions of seconds).  <a href="#a174de88e05dcdb49a3ddd7bde16bdc20"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a0f49560ffd1a24aa1a768344d8c7dd27">mrpt::system::timeDifference</a> (const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t_first, const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t_later)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retuns the time difference from t1 to t2 (positive if t2 is posterior to t1), in seconds.  <a href="#a0f49560ffd1a24aa1a768344d8c7dd27"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a70c53ac763448013b013164c1960255b">mrpt::system::secondsToTimestamp</a> (const double &amp;nSeconds)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transform a time interval (in seconds) into TTimeStamp (e.g.  <a href="#a70c53ac763448013b013164c1960255b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a19c9ba03de2d9944dc7075ebce87abf6">mrpt::system::formatTimeInterval</a> (const double &amp;timeSeconds)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a formated string with the given time difference (passed as the number of seconds), as a string [H]H:MM:SS.MILISECS.  <a href="#a19c9ba03de2d9944dc7075ebce87abf6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a61d5954c4e4e53398ca964634e498b83">mrpt::system::dateTimeToString</a> (const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a timestamp into this textual form (UTC time): YEAR/MONTH/DAY,HH:MM:SS.MMM.  <a href="#a61d5954c4e4e53398ca964634e498b83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a3c75acbd894c8a3ff621641a47aa8c28">mrpt::system::dateTimeLocalToString</a> (const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a timestamp into this textual form (in local time): YEAR/MONTH/DAY,HH:MM:SS.MMM.  <a href="#a3c75acbd894c8a3ff621641a47aa8c28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a570d214be797dec1d694c04cae62b968">mrpt::system::dateToString</a> (const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a timestamp into this textual form: YEAR/MONTH/DAY.  <a href="#a570d214be797dec1d694c04cae62b968"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a7599b1b1aab840b775479f54b8d3d1e7">mrpt::system::extractDayTimeFromTimestamp</a> (const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of seconds ellapsed from midnight in the given timestamp.  <a href="#a7599b1b1aab840b775479f54b8d3d1e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#ac16a09c8efe474c49980837fabdc3df1">mrpt::system::timeToString</a> (const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a timestamp into this textual form (UTC): HH:MM:SS.MMMMMM.  <a href="#ac16a09c8efe474c49980837fabdc3df1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a38a53d6f98af05d1ac427dbb26b38ea5">mrpt::system::timeLocalToString</a> (const <a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t, unsigned int secondFractionDigits=6)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a timestamp into this textual form (in local time): HH:MM:SS.MMMMMM.  <a href="#a38a53d6f98af05d1ac427dbb26b38ea5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string BASE_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a2585751c6ca99999a85d4819854dbb83">mrpt::system::intervalFormat</a> (const double seconds)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function implements time interval formatting: Given a time in seconds, it will return a string describing the interval with the most appropriate unit.  <a href="#a2585751c6ca99999a85d4819854dbb83"></a><br/></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a2a0a650d16403da1f447b7543ce68e2b"></a><!-- doxytag: member="datetime.h::INVALID_TIMESTAMP" ref="a2a0a650d16403da1f447b7543ce68e2b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INVALID_TIMESTAMP&nbsp;&nbsp;&nbsp;(0)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Represents an invalid timestamp, where applicable. </p>

<p>Definition at line <a class="el" href="datetime_8h_source.html#l00034">34</a> of file <a class="el" href="datetime_8h_source.html">datetime.h</a>.</p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.6.2-20100208</a> for MRPT 0.9.0 SVN: at Wed Jul 14 12:48:09 UTC 2010</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table> </body></html>