Unix Timestamp Converter: 1540180800
Just another unix timestamp converter. Find and convert unix epoch time in different date/time formats in timezones. Easy, fast and free unix timestamp lookup. Calc unix timestamps. Search for unix time. Unixtime examples. Learn important timestamps.
Unix Timestamp Converter: 1540180800
2018-10-22 04:00:00 UTC
- Day of Year: 294
- Week of Year: 43
- Month: October (31 Days)
- Weekday: Monday (Day 1)
- Leap Year: No
Local Time for 1540180800
What is this timestamp in your local timezone? Just choose a timezone from the dropdown list.
2018-10-22 04:00:00 UTC
Summertime / Daylight Saving Time (DST): No
Relative to 1540180800
Some important unix timestamps relative to 1540180800 (2018-10-22 04:00:00 UTC) with offsets in seconds. Dates, times and offsets are described from the UTC timezone.
Day Start | 2018-10-22 | 1540166400 | -14400 s |
Tomorrow | 2018-10-23 | 1540252800 | 72000 s |
Yesterday | 2018-10-21 | 1540080000 | -100800 s |
Last Monday | 2018-10-15 | 1539561600 | -619200 s |
Next Monday | 2018-10-29 | 1540771200 | 590400 s |
Month Start | 2018-10-01 | 1538352000 | -1828800 s |
Next Month | 2018-11-01 | 1541030400 | 849600 s |
Year Start | 2018-01-01 | 1514764800 | -25416000 s |
Next Year | 2019-01-01 | 1546300800 | 6120000 s |
Convert Timestamp Programming Languages
$dt = new Datetime('{{ $timestamp }}');
echo $dt->format('r');
select from_unixtime(table.fieldname);
... if the timestamp is in table.fieldname. You can convert the timestamp direct when you enter the number and not the field name, for example: select from_unixtime(1540180800);
let dt = new Date(1540180800 * 1000); // JS works with milliseconds
console.log(dt.toUTCString());
from datetime import datetime
print(datetime.utcfromtimestamp(1540180800).strftime('%c'))
java.util.Date dt = new java.util.Date((long) 1540180800 * 1000);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSXXX");
System.out.println(sdf.format(dt));
DateTimeOffset dt = DateTimeOffset.FromUnixTimeSeconds(1540180800);
dt.ToString("F")
=((((A1+0)/60)/60)/24)+DATE(1970,1,1);
...if the timestamp is in field A1. The +0 is the timezone offset in seconds. Change this if you want the calc the unix timestamp for a different timezone (eg.: A1+3600).