tags:

views:

25

answers:

2

how to find server current datetime while uploading the file and downloading the file using php and mysql

A: 

You might be interested in the php functions time() and date():

http://www.php.net/manual/en/function.time.php

http://www.php.net/manual/en/function.date.php

Roberto Aloi
A: 

Try these: In PHP:

$t = time();
$d = date();

In Mysql:

now()
select now()
jerjer