ternstyle - Lehigh Valley web design, Lehigh Valley Wordpress, Lehigh Valley web programming, Lehigh Valley hosting, content management tools, website plugins, Wordpress plugins, Wordpress Themes, php libraries, php classes, javascript libraries, javascript classes, jQuery plugins, web programming, free web software, free php classes, free software, web design, hosting

Time PHP Class

This is a class I use to create and manipulate UNIX time stamps. All the functions created so far I have written out of necessity so this is in no way a full-fledged extension of PHP’s DateTime object. This class offers a number of simple ways to get from one time stamp to another. Great for calendars and other date related applications.

Download

Download Time PHP Class

2.0

4 KB

Sample Code

$my_offset = -400;
$my_time = $getTIME->clientTime($my_offset);

The above variable $my_time will be a UNIX time stamp reflecting my date and time right now in relation to Universal Time (UTC).

Features

  • Create local and universal time stamps
  • Get times offset from UTC time
  • Render day, week and month related time stamps from any other time stamp

Current Version

The current version of this software is 2.0.

Requirements

  • PHP 4.0+

Documentation

Home > Products > PHP classes > Time PHP Class

Copyright © 2010 Ternstyle Inc. All rights reserved.
site design: ternstyle.us