Lets say I have a file called functions.php, and it has two separate functions inside:
One would get the time
And the other would get the date
How will I
you can add a parameter to the url:
example:
function.php?g=1
now, on the serverside check for the get parameter:
if($_GET['g']==1) { echo date(); } else { echo time(); }