using php and mysql, how can you get the date and time from a linux server?
Try this...
echo shell_exec('date');
thanks
is there a way to format it to enter it so it will fit the format for mysql's 'datetime' datatype?
How does shell_exec('date') differ from time() except for formatting (which can be modified to suit using date())?