CodeCogs - An iteractive open source Numerical library Welcome... Login
CodeCogs
shopping cart
OSXWindowsLinux
Search CodeCogs
Numerical Components
Worked Examples

Valid RSS

units

Time

About | FAQ | Contact
about faq contact

There are 11 components in this category.

GMTOffset

Calculates the number of minutes that the given region is offset from GMT
Excelint GMTOffset ()

Hour

Returns the current hour from a serial Julian date and time. Excel: HOUR
Excelint hour (double time)[inline]

Minute

Returns the current minute from a serial Julian date and time. Excel: MINUTE
Excelint minute (double time)[inline]

Now

Returns the current date and time as a serial Julian date and time. Excel: NOW
double now (summerTimeRegion Region=st_Local)

Second

Returns the current second from a serial Julian date and time. Excel: SECOND
Excelint second (double time)[inline]

Summertime

Calculates the start and end of summer time in the specified year and region.
void summerTime (int Year, double &StartDate, double &EndDate, summerTimeRegion Region)
bool summerTime (double nDate, summerTimeRegion Region)

Summer Time Region

The summer time regions of the world and their start/end rules.

Time

Calculates the time fraction from the parameters \b hours, \b minutes and \b seconds. Excel: TIME
Exceldouble time (int Hours, int Minutes, int Seconds)[inline]

Time HMS

Converts a fractional part of a serial Julian date and time into hours, minutes and seconds.
void timeHMS (double nTime, int &Hours, int &Minutes, int &Seconds)
void timeHMS (const char* Time, int &Hours, int &Minutes, int &Seconds)

World Time Diff

Returns the time offset between two world locations
double worldTimeDiff (worldTimeZone LocA, worldTimeZone LocB)[inline]

World Time Zone

Times zone offsets (from GMT) for key locations around the world.

Valid CSS!   Valid XHTML 1.0 Transitional