Skip to main content
added 2 characters in body
Source Link
Penny Liu
  • 17.9k
  • 5
  • 89
  • 109

I am storing time in a MySQL database as a Unix timestamp and that gets sent to some JavaScript code. How would I get just the time out of it?

For example, in HH/MM/SSHH/MM/SS format.

I am storing time in a MySQL database as a Unix timestamp and that gets sent to some JavaScript code. How would I get just the time out of it?

For example, in HH/MM/SS format.

I am storing time in a MySQL database as a Unix timestamp and that gets sent to some JavaScript code. How would I get just the time out of it?

For example, in HH/MM/SS format.

edited tags
Link
Kamil Kiełczewski
  • 93.7k
  • 34
  • 401
  • 375
edited tags
Link
John Slegers
  • 47.3k
  • 23
  • 205
  • 173
edited tags
Link
John Slegers
  • 47.3k
  • 23
  • 205
  • 173
Loading
Copy edited (e.g. ref. <http://en.wikipedia.org/wiki/JavaScript>).
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134
Loading
Question Protected by CommunityBot
edited tags
Link
David Wolever
  • 155.7k
  • 94
  • 365
  • 513
Loading
Edit tags; question has nothing to do with PHP
Link
Ian Clelland
  • 44.4k
  • 8
  • 90
  • 88
Loading
Source Link
roflwaffle
  • 30.8k
  • 21
  • 76
  • 97
Loading