BTW, if you're importing the records from another table and you have a field that's in a regular date/time format and you want to import it into Snitz, you could something like the following (dtRegistered & dtSiteLastAccessed were originally datetime fields):
Note: This SQL statement was written for use in SQL Server.
SET IDENTITY_INSERT new_database.dbo.FORUM_MEMBERS ON
INSERT INTO new_database.dbo.FORUM_MEMBERS
(
MEMBER_ID
, M_NAME
, M_PASSWORD
, M_DATE
, M_LASTHEREDATE
, M_EMAIL
, M_SHA256
)
SELECT
idProfile
, chrUserName
, chrPassword
, (CASE
WHEN ISDATE(dtRegistered)=1 THEN LEFT(REPLACE(REPLACE(REPLACE(CONVERT(varchar(20),dtRegistered,20),':',''),' ',''),'-',''),14)
ELSE ''
END)
, (CASE
WHEN ISDATE(dtSiteLastAccessed)=1 THEN LEFT(REPLACE(REPLACE(REPLACE(CONVERT(varchar(20),dtSiteLastAccessed,20),':',''),' ',''),'-',''),14)
ELSE ''
END)
, chrEmail
, 0
FROM old_database.dbo.Profiles
SET IDENTITY_INSERT new_database.dbo.FORUM_MEMBERS OFF
After that has run, then I run an ASP script that selects all records where the M_SHA256 field = 0, encrypts the password and updates the record with the encrypted password and sets M_SHA256 to 1.