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 MOD-Group
 MOD Add-On Forum (W/Code)
 IPGate 2.4.4 RC3 Updated 7-4-2007
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 4

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 September 2008 :  04:04:32  Show Profile  Reply with Quote
Reading through this thread, there are slight indications of the way date format may have caused problems and it has been fixed. On the pages displayed the date format is in dd/mm/yyyy 06/09/2008 and I was wondering if we could format the way the date displays to being it inline with the rest of the forum dates ie 06 Sept 2008
There is a date string <%=DateAdd("d",(-1*StrIpgateExp), date())%>
I have tried surrounding the date() and whole string with ChkDate but can not get the dates to display the same as the rest of the forum. Any assistance to resolve date display issue, would be appreciated<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 06 September 2008 :  04:34:39  Show Profile  Visit HuwR's Homepage  Reply with Quote
you need to do something like chkDate(DateAdd("d",(-1*StrIpgateExp), date())," ",true)<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 September 2008 :  11:41:20  Show Profile  Reply with Quote
Huwr, I did try that initially but got the following error:
Microsoft runtime error 800a000d
Type mismatch: [string: 9/'
/forum/inc_func_common.asp, line 870


inc_func_common.asp line 870 in red:
case "dmmmy"
chkDate = Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),0) & " " & _
Mid(fDate,1,4)



I don't know whether the date display within the <%= %> has anything to with the error

This is the line of code I am working with:
<td width="503" align="left" valign="baseline" <%=forumtable%>> <%= forumfont%>Records older than <%=DateAdd("d",(-1*StrIpgateExp), date())%> will be cleared<%= endfont %></td>
Thank you Andy
Edit: admin_ipgate.asp text link added<

Edited by - Andy Humm on 06 September 2008 11:42:10
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 06 September 2008 :  12:06:01  Show Profile  Visit HuwR's Homepage  Reply with Quote
oops sorry, I completely missed a bit out. should have been


chkDate(DateToStr(DateAdd("d",(-1*StrIpgateExp), date()))," ",true)


<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 September 2008 :  12:26:38  Show Profile  Reply with Quote
Thanks Huwr all okay, just changed the true to false to hide the hrs:min:secs<

Edited by - Andy Humm on 06 September 2008 12:26:53
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 06 September 2008 :  13:06:25  Show Profile  Visit HuwR's Homepage  Reply with Quote
cool <
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page
 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.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07