Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Remind me again about dates...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AnonJr
Moderator

United States
5768 Posts

Posted - 13 August 2009 :  09:31:25  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Its been one of those days... I may post about that later.

Remind me again why we are converting the date/time to a string and storing it as such...

I ask because I'm upgrading the online testing software where I work and in the process migrating to SQL Server 2005. I'm also tightening the integration with the forum, hence the question. As soon as I get the new structure planned out, I'm going to write the script to migrate the data from Access to SQL Server and if needed convert the date/time information.

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 13 August 2009 :  10:04:04  Show Profile  Visit HuwR's Homepage  Reply with Quote
it is because different databases and ASP all treat datetime variables differently, it is therfire much safer to store the data as either text (Snitz does this) or as an integer.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 13 August 2009 :  11:12:11  Show Profile  Visit AnonJr's Homepage  Reply with Quote
That's what I thought. Just checking - that first cup of coffee didn't really help...

Since I want to make use of functions like chkDate, UpdateLastHereDate, etc. I'll probably use the same format.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07