Unixtime to Timestamp Converter

Convert between unix epoch and date/time or vice-versa

The current unix epoch and datetime is:

Update the epoch and see the changes reflected in the time/date or vice-versa. Adjust any one of the inputs. Current time will be restored when inputs lose focus.
by @iwootten

Get Current Unix Epoch

JS

new Date().valueOf() / 1000;

Python

import time
      
time.time()

PHP

time()

Get Current Date (ISO Format)

JS

Date.now().toISOString();

Python

from datetime import datetime

datetime.now().isoformat()

PHP

date('Y-m-d\TH:i:s')

Convert Unix Epoch to Date (ISO Format)

JS

Date(1666013569 * 1000).toISOString();

Python

from datetime import datetime

datetime.fromtimestamp(1666013569).isoformat()

PHP

date('Y-m-d\TH:i:s', 1666013569)

Convert ISO Date/Time to Unix Epoch

JS

Date.parse('2022-10-17T13:53:47.293Z');

Python

from datetime import datetime
      
int(datetime.fromisoformat('2022-10-17T13:52:57').timestamp())

PHP

date("U", strtotime('2022-10-17T13:52:57'))