Changeset 12618 for trunk/FACT++/src/Time.cc
- Timestamp:
- 11/22/11 23:39:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Time.cc
r11440 r12618 186 186 // -------------------------------------------------------------------------- 187 187 // 188 // @returns days since 1970/1/1 189 // 190 double Time::UnixDate() const 191 { 192 return (date().modjulian_day()-40587) + SecondsOfDay()/(24*60*60); 193 } 194 195 // -------------------------------------------------------------------------- 196 // 188 197 // @returns seconds since 1970/1/1 189 198 //
Note:
See TracChangeset
for help on using the changeset viewer.