Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5997361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:15:11+00:00 2026-05-23T00:15:11+00:00

This is one of those questions that I’m sure will have a quick answer

  • 0

This is one of those questions that I’m sure will have a quick answer but I can’t seem to find it.

Using the Facebook Graph API, the opening hours for a business are returned in JSON using this format:

"hours": {
  "mon_1_open": 406800,
  "mon_1_close": 437400,
  "tue_1_open": 493200,
  "tue_1_close": 523800,
  "wed_1_open": 579600,
  "wed_1_close": 610200,
  "thu_1_open": 61200,
  "thu_1_close": 91800,
  "fri_1_open": 147600,
  "fri_1_close": 178200,
  "sat_1_open": 237600,
  "sat_1_close": 264600,
  "sun_1_open": 324000,
  "sun_1_close": 345600
}

The hours should be 0900 – 1730 weekdays, 1000-1730 Saturdays & 1000-1600 Sundays.

I can see there are 30600 seconds between opening and closing on weekdays, so it’s a number of seconds since something, but I’m not sure since what.

What kind of time format is this, and how can I convert it into something usable in PHP?

Bonus: Why would they use a timestamp “since” something, seeing as the hours recur weekly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:15:11+00:00Added an answer on May 23, 2026 at 12:15 am

    I’m not sure what TimeZone you’re in, but looking at it, hey all seem to be exact second counts originating from 00:00:00Z Thursday morning. I’d say that puts you at about the PST timezone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This might be one of those questions that are difficult to answer, but here
This is probably one of those questions with an obvious answer, but when I
Hey, so this is one of those questions that seems obvious, and I'm probably
This is one of those I probably should know this, but I don't questions.
This might be one of those huh, why? questions, but I figured it would
I know that there are other questions that deal with this error, but those
Its one of those simple questions that bug the most. I have the following
This is probably one of those questions where the answer really should be too
This is one of those questions that you just know is going to make
This is one of those questions that you just know is going to make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.