Category : epoch

I used this code to convert epoch to human readable date var timestamp = 1293683278; var date = new Date(timestamp*1000); var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); var hours = date.getHours(); var minutes = date.getMinutes(); var seconds = date.getSeconds(); I need to change it to UTC+3 how can ..

Read more