Hi
When i use time() function in php,i got the value as follows,
1242104663
i retrieved thelogin time for ,but i want to get the current system time in hours,mins ,seconds
Regards,
Vidhya
Hi
When i use time() function in php,i got the value as follows,
1242104663
i retrieved thelogin time for ,but i want to get the current system time in hours,mins ,seconds
Regards,
Vidhya
Use
date('H:i:s')
It will give you current system time (system on which you server is installed)
date('H:i:s') gives you server time. for system time you can use JavaScript function.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.