PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 137 All time: 9,246 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: 430890 in Iran Iran
Week rank: 286 Up7 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  
File Role Description
Accessible without login Plain text file Example.php Example Example
Plain text file TimeAgo.class.php Class Class Time Ago

 Version Control Unique User Downloads Download Rankings  
 0%
Total:137
This week:0
All time:9,246
This week:660Up
User Comments (1)
خیلی خوبه
8 years ago (Mahan)
70%StarStarStarStar