Unix Timestamp 1340300400

    seconds · 13 years ago

    ⚡ Quick Answer

    1340300400 = Jun 21, 2012, 05:40:00 PM UTC

    ISO 8601: 2012-06-21T17:40:00.000Z

    Output Formats

    ISO 8601

    2012-06-21T17:40:00.000Z

    RFC 2822

    Thu, 21 Jun 2012 17:40:00 GMT

    Human Readable

    Thursday, June 21, 2012 at 05:40:00 PM UTC

    Unix Seconds

    1340300400

    Unix Milliseconds

    1340300400000

    Day of Week

    Thursday

    Advertisement

    Timezone Breakdown

    UTC

    Jun 21, 2012, 05:40:00 PM UTC

    US Eastern

    Jun 21, 2012, 01:40:00 PM EDT

    US Pacific

    Jun 21, 2012, 10:40:00 AM PDT

    UK London

    Jun 21, 2012, 06:40:00 PM GMT+1

    Japan Tokyo

    Jun 22, 2012, 02:40:00 AM GMT+9

    Australia Sydney

    Jun 22, 2012, 03:40:00 AM GMT+10

    Frequently Asked Questions

    What date is Unix timestamp 1340300400?

    Unix timestamp 1340300400 represents Thursday, June 21, 2012 at 05:40:00 PM UTC. This is 13 years ago from the current time.

    Is 1340300400 in seconds or milliseconds?

    1340300400 has 10 digits, which means it is in seconds. Multiply by 1,000 to get milliseconds: 1340300400000.

    How do I convert 1340300400 in JavaScript?

    // Normalized to Unix seconds: 1340300400
    const tsSec = 1340300400;
    new Date(tsSec * 1000).toISOString();
    // "2012-06-21T17:40:00.000Z"

    How do I convert 1340300400 in Python?

    import datetime
    ts = 1340300400
    dt = datetime.datetime.fromtimestamp(
        ts, tz=datetime.timezone.utc)
    print(dt.isoformat())
    # "2012-06-21T17:40:00.000Z"

    What is the Unix timestamp for right now?

    Use our live timestamp converter to get the current Unix timestamp. In JavaScript: Math.floor(Date.now() / 1000). In Python: int(time.time()). In bash: date +%s.

    Need to convert a different timestamp?

    Our full converter supports seconds, milliseconds, microseconds, 25+ timezones, and auto-detection.

    Open Full Converter →
    Advertisement

    Related Guides & Tutorials

    // developers also read