Difference between revisions of "FloatingTime"

From Internationalization
Jump to: navigation, search
(Created page with "= What Are Floating Times? = == Q: What is a "floating time" and how do I handle floating times in my Web application? == == Answer == == In detail ==")
 
(Q: What is a "floating time" and how do I handle floating times in my Web application?)
Line 3: Line 3:
 
== Q: What is a "floating time" and how do I handle floating times in my Web application? ==
 
== Q: What is a "floating time" and how do I handle floating times in my Web application? ==
  
 +
A "floating time" or a "floating date" is a time value that isn't tied to a specific time zone.
 +
 +
The [http://www.w3.org/TR/timezone/ Working with Timezones] WG Note says:
 +
 +
<blockquote cite="http://www.w3.org/TR/timezone/">
 +
Some observed time values are not related to a specific moment in incremental time. Instead, they need to be combined with local information to determine a range of acceptable incremental time values. We refer to these sorts of time values as "floating times" because they are not fixed to a specific incremental time value. Floating times are not attached and should never be attached to a particular time zone.
 +
</blockquote>
 +
 +
A common example of a floating time value would be a publication date. The January 30, 2013, issue of a newspaper, magazine, or blog posting does not depend on the current local time of the person reading the document. For example, a document might describe its publication date this way:
 +
 +
<pre>
 +
  ....
 +
</pre>
  
 
== Answer ==
 
== Answer ==
  
 
== In detail ==
 
== In detail ==

Revision as of 21:09, 7 February 2013

What Are Floating Times?

Q: What is a "floating time" and how do I handle floating times in my Web application?

A "floating time" or a "floating date" is a time value that isn't tied to a specific time zone.

The Working with Timezones WG Note says:

Some observed time values are not related to a specific moment in incremental time. Instead, they need to be combined with local information to determine a range of acceptable incremental time values. We refer to these sorts of time values as "floating times" because they are not fixed to a specific incremental time value. Floating times are not attached and should never be attached to a particular time zone.

A common example of a floating time value would be a publication date. The January 30, 2013, issue of a newspaper, magazine, or blog posting does not depend on the current local time of the person reading the document. For example, a document might describe its publication date this way:

  ....

Answer

In detail