Profile
Achievement
TimoZachi's Recent SnippetsTagged date
- All /
« Prev 1 Next »
A simple function for converting a php timestamp (integer) to a user frindly format. Examples: 10 Seconds ago, 4 Days ago. The function converts timestamp to U.F. format only if the timestamp is earlyer than one week. Otherwise it uses $dateFormat ar...
0
1282
posted 12 years ago by TimoZachi
A custom class for formatting dates, similar to PHP bult-in function "date". The class also has some other date utils functions, like: dayOfYear, numberOfDaysInMonth, etc..
1
1090
posted 13 years ago by TimoZachi