Author |
Topic  |
|
tomasalsbro
Average Member
  
Sweden
818 Posts |
Posted - 10 April 2001 : 10:41:57
|
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
|
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
|
 |
|
tomasalsbro
Average Member
  
Sweden
818 Posts |
Posted - 10 April 2001 : 11:08:53
|
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
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 10 April 2001 : 15:38:11
|
where it says
<%= SOMEDATEVAR %> replace it with
<%=chkDate(strToDate(DateToStr(SOMEDATEVAR )))%> <%=chkTime(strToDate(DateToStr(SOMEDATEVAR )))%>
|
 |
|
tomasalsbro
Average Member
  
Sweden
818 Posts |
Posted - 11 April 2001 : 04:08:24
|
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 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 13 April 2001 : 07:50:59
|
by SOMEDATEVAR, I meant it could be anynamed date variable
|
 |
|
tomasalsbro
Average Member
  
Sweden
818 Posts |
Posted - 13 April 2001 : 12:04:10
|
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
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 13 April 2001 : 12:28:44
|
could you mail it to me, I will sort it out for you
|
 |
|
tomasalsbro
Average Member
  
Sweden
818 Posts |
Posted - 13 April 2001 : 14:16:39
|
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
|
 |
|
|
Topic  |
|