PHP Classes

PHP Time Ago Persian Class: Display how long it passed since date in Persian

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 137 All time: 9,252 This week: 660Up
Version License PHP version Categories
time-ago 1.0GNU General Publi...35PHP 5, Time and Date
Description 

Author

This package is specific mainly for applications used in Iran Iran .

This class can display how long it passed since date in Persian.

It takes a given date and time and computes the time difference since that date and now.

The class can return how long it passed in the Persian language.

Picture of Alireza Zare
Name: Alireza Zare <contact>
Classes: 1 package by
Country: Iran Iran
Age: 29
All time rank: 430990 in Iran Iran
Week rank: 200 Up2 in Iran Iran Up

Example

<?php
/*
* Alireza Zare
* info.ali.pci@gmail.com
* GNU General Public License <opensource.org/licenses/gpl-license.html>
* last modified: january 2016 <ver 1.0>
* Time Ago Persian
* Use times::ago("2016-1-1");
*/
include_once("TimeAgo.class.php");
print
times::ago("2016-1-10");
?>


  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file Example.php Example Example
Plain text file TimeAgo.class.php Class Class Time Ago

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:137
This week:0
All time:9,252
This week:660Up
User Comments (1)
خیلی خوبه
8 years ago (Mahan)
70%StarStarStarStar