Jump to content

Script having function to return unix timestamp for next day


poacher

Recommended Posts

Hello friends, this is my first ques here. I need to test a script that uses unix timestamp with time() function. I need to test the out come of the logic for the next day. hence I need to changed the code that uses my function instead to time() to provide tomorrow's timestamp. Here is what I wrote and is not working. Since Im new to php, i need your help:-

 

filename  = qa_time1.php

 

<?php

 

  function qa_time1(){

    $current_time = time();

    return $current_time;

  }

qa_time1();

 

?>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.