Calendar time (Definition)

Time values measured according to the Gregorian calendar.

Time values are one of the areas of least portability between languages and systems. Although many languages make a brave attempt to provide portable facilities, it is rarely indeed that you will find two systems that can sensibly exchange the binary or internal time values.

You can transfer time values between systems but you'll need to do it like this. First, you will need to convert from internal time values to some textual representation that can then be scanned and parsed back into an internal value on the other system. Then transmit the string to the other end and invoke some local processing there to convert the time value back in its internal form.

There are a variety of names for this internal time value, one of which is Calendar time.

See also:Broken down time, Date and time, Date object, Daylight savings time adjustment, Local time, Time range, Time value, Universal coordinated time