Insert current timestamp using javascript in database using php -
i trying insert local time database using javascript. can 1 help me? please have on file named member.class.php , please allow me know have set javascript code... https://www.dropbox.com/sh/lfef67brewx7rub/wyrp72bdh7
its simple man...try this
var milliseconds = new date().gettime();
it give time in milli seconds or can utilize like
new date().gettime();
if want in unix(linux) timestamp utilize this
var unix = math.round(+new date()/1000); give in seconds
php javascript mysql
No comments:
Post a Comment