datetime - How to get delay of 30 sec in current time in php? -


The date ("FDYH: I: S") currently returns to php. Not sure how to get a delay of 30 seconds and 1 minute using PHP, but the date ("FD YH: I: S-30") or date ("FD YH: I-1: s" )?

  date ("FD YH: I: S", time () + 90) There is a second, optional parameter in  

date : Timestamp time returns the current timestamp to convert to string, which is just a Integer, so you can add 90 to get 90 seconds time from the present time.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -