Login   Register  
PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Igor Shevchuk  >  text2timestamp  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Exampl
Class: text2timestamp
Parses and extract times from text
Author: By
Last change:
Date: 4 years ago
Size: 613 bytes


Class file image Download
if (isset($_POST['get'])){
$time_ = new text2timestamp($_POST['time']);
    if (
date('H:i:s Y/m/d',$time).' - '.$time.' - '.$action.'<br/>';     
        <form method="post">
            Tell time
            <input type="text" name="time">
            <input type="submit" name="get" value="get time">