Login   Register  
PHP Classes
elePHPant
Icontem

Class: Text to Timestamp

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Martin  >  Text to Timestamp  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Text to Timestamp
Base name: time-when
Description: Convert English expressions into time values
Related classes: , , ,
Version: 1.0
PHP version: 5.0
License: BSD License
All time users: 338 users
All time rank: 5364
Week users: 0 users
Week rank: 2502
Picture of Martin
Author: Martin <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: Denmark Denmark - PHP jobs in Denmark
Age: 29
All time rank: 180113 in Denmark Denmark
Week rank: 2275 Down14 in Denmark Denmark Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
This class can be used to convert English expressions into time values.

It can parse a given string with a relative time expression in English like "just a moment ago", "1 day ago" or "6 hours ago", into a time value.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Time and Date Time and date values, formats and conversion View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
October 2009
Number 8
The PHP function strtotime() can convert a text string in several time formats into a timestamp value.

This class goes farther by analyzing and converting text strings with relative time expressions in English.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagedocumentation (1 file)
Plain text file example.php Example Example
Plain text file Time_When.php Class Source

  Files  /  Files folder image documentation  
File Role Description
  Plain text file documentation.txt Data Link to API

Download all files: time-when.tar.gz time-when.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.