vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Daylight Savings?? (https://vborg.vbsupport.ru/showthread.php?t=227162)

Dismounted 11-02-2009 03:18 AM

The server will automatically change through timezones (DST and non-DST) when it is programmed to. When you manually change the time - you are not changing the timezone, but the actual base time. Again, Unix timestamps are always taken as UTC, so timezone changes do not affect this.

SnapOff Racing 11-02-2009 07:09 PM

Ahhhhh OK that makes PERFECT sense then :up:

Paul M 11-02-2009 08:13 PM

Quote:

Originally Posted by SnapOff Racing (Post 1908828)
vb stores the posts in GMT -0 correct?

Nope, like I said, it stores them as the unix timestamp. This is translated into a display time by vb, depending on your timezone settings. The unix timestamp always moves forwards, whatever your timezone does.

SnapOff Racing 11-03-2009 12:18 AM

Yes I know but what I was saying is that VB stores the TIMESTAMPS as GMT-0 which is equal to UTC

Dismounted 11-03-2009 01:21 AM

Unix timestamps are always seconds since January 1 1970, 00:00 UTC. Anything other than that is not a Unix timestamp.

Xanlamin 11-09-2009 04:39 AM

It will not mess up the post order cause the post still have an ID number assigned to them, so you may see a post before time was set back with a time stamp of 1:02AM and a post number of #500 and no one post till DST has taken affect and the next post is post #501 with a time stamp of 1:01AM, I have been running forums for the past 12 years and this has always been the case and it has not messed up a single time.

and time is set back at 2am not midnight, so at DST when the clock is at 1:59am then another minute goes by it will be 1:00am

Marco van Herwaarden 11-09-2009 07:49 AM

Posts are not ordered by post-id but by timestamp.

Xanlamin 11-09-2009 11:55 AM

IF that was the case then in my example post #501 would be rearranged with post #500 after DST went into affect. cause post #501 was at 1:01am and post #500 was at 1:02am.


All times are GMT. The time now is 10:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03642 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete