Hi All,
This has to be simple and I'm just missing something...I need to get the epoch time for my PC clock. I've been messing with this code:
nd = new Date();
ep = nd.getTime();
document.write(ep);
This works fine, however, I need the current epoch time excluding the seconds and milliseconds. In other words, I need the current epoch time (in milliseconds) down to the minute. Thus, when I refresh the page any time during a given minute the epoch time value remians the same! Any thoughts would be great!
-dle
This has to be simple and I'm just missing something...I need to get the epoch time for my PC clock. I've been messing with this code:
nd = new Date();
ep = nd.getTime();
document.write(ep);
This works fine, however, I need the current epoch time excluding the seconds and milliseconds. In other words, I need the current epoch time (in milliseconds) down to the minute. Thus, when I refresh the page any time during a given minute the epoch time value remians the same! Any thoughts would be great!
-dle