Jun 12, 2001 #1 yash Programmer Apr 9, 2001 46 IN Hi, How can we compare Date Only And also Time Only with Javascript.. Regards..
Jun 13, 2001 #2 queve2000 Programmer Jun 13, 2001 1 PE You use the corresponding date & time methods. var today=new Date() var date=today.getDate() var time=today.getTime() var hour=today.getHours() var minute=today.getMinutes() var second=today.getSeconds() Upvote 0 Downvote
You use the corresponding date & time methods. var today=new Date() var date=today.getDate() var time=today.getTime() var hour=today.getHours() var minute=today.getMinutes() var second=today.getSeconds()