[[time]]
 

Differences

This shows you the differences between two versions of the page.

time [2010/01/16 02:16]
luke
time [2010/01/20 12:10] (current)
luke
Line 64: Line 64:
<code php> <code php>
$time1 = qCal_Time::factory("4:00"); // will result in 4:00am using the server's timezone $time1 = qCal_Time::factory("4:00"); // will result in 4:00am using the server's timezone
-$time2 = qCal_Time::factory("tomorrow", "GMT"); // will result in whatever tomorrow's date is in GMT +$time2 = qCal_Time::factory("now", "America/Los_Angeles"); // will result in the current time in America/Los_Angeles
-$time3 = qCal_Time::factory("now", "America/Los_Angeles"); // will result in the current time in America/Los_Angeles+
</code> </code>
 
/home/luke/dokuwiki/data/pages/time.txt · Last modified: 2010/01/20 12:10 by luke
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki