php 找出日期的差距天數

記得先compile calendar 這個php extension 才會有
gregoriantojd 這個function..

http://roshanbh.com.np/2008/03/finding-days-difference-php.html

PS
之前都是自已硬幹…..
用mktime date轉來轉去才算出來的…

About johnpupu

..........
This entry was posted in program and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word