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 Bug Reports (Open)
 v3.3 - Function DateToStr
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 07 April 2002 :  02:41:26  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
function DateToStr(dtDateTime)
if not isDate(strForumTimeAdjust) then
strForumTimeAdjust = strToDate(strForumTimeAdjust)
end if


DateToStr = year(dtDateTime) & doublenum(Month(dtdateTime)) & doublenum(Day(dtdateTime)) & doublenum(Hour(dtdateTime)) & doublenum(Minute(dtdateTime)) & doublenum(Second(dtdateTime)) & ""
end function


why reference does the code in red have to do with this function?

Brad
Web Hosting with SQL Server @ $24.95 per month

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 07 April 2002 :  03:28:43  Show Profile  Visit HuwR's Homepage
it is making sure that strForumTimeAdjust is a correctly formatted date.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 07 April 2002 :  03:38:46  Show Profile
there was a bug report about this...

that code in red should be changed to this:

	if not isDate(dtDateTime) then
dtDateTime = strToDate(dtDateTime)
end if
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07