now timestamp code example Example: convert int to timestanp js Date.now() and new Date(1381216317325);