Time Difference Function |
[eluser]Xeoncross[/eluser]
Well, after looking around the web at all the bad implementations of a simple human time difference function - I came up with this for MicroMVC. It seems to do the job well and I thought I might share it here for other to use as I thought I remembered seeing some questions about this somewhere. Code: /** I don't think it's necessary, but it's GPL in case anyone is worried about using it.
[eluser]m4rw3r[/eluser]
Here is a more accurate time difference function I made: Code: function time_diff($from, $to)
[eluser]Johan André[/eluser]
Hey! Check out this: http://ellislab.com/forums/viewthread/106557/ It depends on languagefiles too...
[eluser]Unknown[/eluser]
hi....i'm new codeigniter.so plz tell me how to calculate current time in codeigniter. plz help me
|
Welcome Guest, Not a member yet? Register Sign In |