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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Time format in Guestbook v3
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 10 April 2001 :  10:41:57  Show Profile  Visit tomasalsbro's Homepage
How do I do to transform the time format to Stockholm time zone and 24 hours format?
Cheers / Tomas

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 10 April 2001 :  10:54:20  Show Profile  Visit HuwR's Homepage
like this


<%=chkDate(strToDate(DateToStr(strForumTimeAdjust)))%> <%=chkTime(strToDate(DateToStr(strForumTimeAdjust)))%>



That will display it in forum time unles you have the timezone mod installed, then it will display it in the users chosen timezone
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 10 April 2001 :  11:08:53  Show Profile  Visit tomasalsbro's Homepage
quote:

like this


<%=chkDate(strToDate(DateToStr(strForumTimeAdjust)))%> <%=chkTime(strToDate(DateToStr(strForumTimeAdjust)))%>



That will display it in forum time unles you have the timezone mod installed, then it will display it in the users chosen timezone




OK HuwH,
but excuse I complete fool - where do i implement the code???
Tomas

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 10 April 2001 :  15:38:11  Show Profile  Visit HuwR's Homepage
where it says

<%= SOMEDATEVAR %> replace it with

<%=chkDate(strToDate(DateToStr(SOMEDATEVAR )))%> <%=chkTime(strToDate(DateToStr(SOMEDATEVAR )))%>





Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 11 April 2001 :  04:08:24  Show Profile  Visit tomasalsbro's Homepage
quote:

quote:

where it says

<%= SOMEDATEVAR %> replace it with

<%=chkDate(strToDate(DateToStr(SOMEDATEVAR )))%> <%=chkTime(strToDate(DateToStr(SOMEDATEVAR )))%>








Sorry HuwH,
I have search for that code, but I can't find it. What file should I look in?
Tomas





What I meent with the above was that I can't find "<%= SOMEDATEVAR %> " anyware in the file "guestbook.asp"!
Tomas



Edited by - tomasalsbro on 13 April 2001 07:35:43
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  07:50:59  Show Profile  Visit HuwR's Homepage
by SOMEDATEVAR, I meant it could be anynamed date variable

Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 13 April 2001 :  12:04:10  Show Profile  Visit tomasalsbro's Homepage
quote:

by SOMEDATEVAR, I meant it could be anynamed date variable





I'm sorry HuwR, but I not capable to understand what to do. I've looked at the file and all date and time function as I understand them but that just make me more and more confused. And i have messed it up now!
My file is
http://www.whiplash.pp.se/forum/guestbook.asp
if you could have a look at it?
Tomas

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  12:28:44  Show Profile  Visit HuwR's Homepage
could you mail it to me, I will sort it out for you

Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 13 April 2001 :  14:16:39  Show Profile  Visit tomasalsbro's Homepage
quote:

could you mail it to me, I will sort it out for you





Ok HuwR, it's done.
I don't know if I messed someting up translating it to Swedish?
Tomas

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.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07