3

Bug Report screenshot

Please find the screenshot for the details.Here i have asked a question yesterday(17-April-2014).When i reopen the question link today (18-Aril-2014)(How to Update and sync a Database tables at exactly same time?) looking for an answer i found details on right hand side of the screen saying Asked:Today Views:21 Please have a look at system time 11:00AM its TODAY!! and the question was asked yesterday

Isn't that a bug? Though i didnt get answer for my question!! that made me to look at these!

3
  • 6
    I'm guessing it says “today” until 24 hours have passed. At this time, only 22 hours have passed.
    – icktoofay
    Apr 18, 2014 at 5:59
  • IIRC 'today', 'yesterday' is only relevant for the timezone where the Stack Exchange Team is based. here in Australia, 'Today' seems to roll over to 'Yesterday' at around 2pm AEST. At least, that's been my observation
    – Robotnik
    Apr 18, 2014 at 6:07
  • 4
    This is because Windows XP is no longer a supported operating system. Y2K +14.
    – Joe
    Apr 19, 2014 at 20:41

2 Answers 2

13

The day for a question starts from the time it was posted, so it changes to yesterday after 24 hours have passed since the question was asked.

It's not dependent on the calendar day of the local or server time.

4
  • 2
    simple answer solves my doubt.But user experience matters!!!. Apr 18, 2014 at 7:18
  • 2
    I know I'm stating the obvious here but this is just flat out bad logic. "Today" is not defined as "within the last 24 hours". "Today" means on or after 12:00AM (my local time) of the PRESENT day that I'm visiting this site. I understand it can be a matter of designers choice but that goes against any definition of "today" that I've ever heard of. Can someone please explain further? Apr 21, 2015 at 17:01
  • 2
    @jaredbaszler It might not fit the definition of a 'Bug', but it's certainly a design error. You can't just change the definition of words to suit your design.
    – pabrams
    Jul 13, 2016 at 16:45
  • Why not just showing the timestamp the question was posted and this problem would be gone...
    – bish
    Aug 18, 2017 at 6:38
3

Make sure you go by the server time, which you can find here:

enter image description here

Note, the system time is GMT 0 (UTC), in order to approximate a day for the site in your time zone, you'll need to find your GMT offset and establish a 0:00 reference point (e.g. 18:00 is 0:00 server time)

It's a common misunderstanding.

4
  • 2
    @mmu: people sometimes downvote when it's common enough that a search would easily find the question. Having said that, the Meta Stack Overflow split has made things a bit more difficult to find -- for now, you might also want to take a look at Meta Stack Exchange. Apr 18, 2014 at 7:54
  • 1
    but the logic for changing post status from today yesterday not depends on the server time or day change. Apr 18, 2014 at 18:10
  • 1
    The relative dates are actually not based on UTC; they are just relative to the post time. Less than 24 hours ago? 'today'. 24 hours or more, but less than 28 hours? 'yesterday', etc.
    – Martijn Pieters Mod
    Apr 19, 2014 at 7:31
  • 1
    Yes, it is relative to the time the post was created (which is relative to the system time), but a good distinction to make.
    – Tim Post
    Apr 21, 2014 at 5:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .