Home > Development, SQL > Date Time for Multi-Site

Date Time for Multi-Site

February 9th, 2012 Leave a comment Go to comments

Something to remember, in programming in multiple site environment, if you have site that has differ time zone than the server time zone, remember to use GetSiteDate function, instead of directly GETDATE().  Below is code sample.

   SET @PrintDate = dbo.GetSiteDate(GETDATE())

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.