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
 Events calendar - translating the dates
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

blackinwhite
Average Member

Turkey
657 Posts

Posted - 07 July 2001 :  04:06:17  Show Profile
In the viek view, or when all the events for a day listed, day was written like :

Sunday, July 01, 2001

Can I translate it? I would like it something like

Pazar, Temmuz 01, 2001 or

7/01/2001

Thanks in advance.


____
"I am a legal alien"

Aznknight
Senior Member

USA
1373 Posts

Posted - 07 July 2001 :  05:20:11  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
I think I used the built in vb function Formatdatetime(date, 1) to display it like that. Doing what you want might require to write your own formatdatetime function that given it a date, displays it like how you want.

i'm not gonna attempt trying to write my own formatdatetime function though. anyone want to give it a crack?

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 07 July 2001 :  08:06:12  Show Profile
I am not sure I can cope with it, can you give me some hint, or some help for the start?

____
"I am a legal alien"
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 July 2001 :  21:12:16  Show Profile  Visit HuwR's Homepage
to format it like 7/01/2001, you can simply ask it to print date instead of formatdateTime(date,1)



Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 07 July 2001 :  22:09:34  Show Profile
quote:

to format it like 7/01/2001, you can simply ask it to print date instead of formatdateTime(date,1)




sorry, but could not get it.
I have tried this
Events for date() , but it normally shows today's date.

____
"I am a legal alien"
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 July 2001 :  22:32:47  Show Profile  Visit HuwR's Homepage
open events_functions,asp
look for the displayevents function
scroll down untill you find this line
Response.Write "Events for " & FormatDateTime(dDate, 1)
change it to
Response.Write "Events for " & dDate

then look for the DisplayWeek function
scroll down till you find this code
<%Response.Write FormatDateTime(dSunday, 1) & " - " & formatdatetime(dSaturday, 1)%>
replace it with
<%Response.Write dSunday & " - " & dSaturday %>

Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 08 July 2001 :  06:26:19  Show Profile
Thank you very much, it worked fine. One thing I also changed

<%= formatdatetime(dCurrentDate,1)%>
to
<%= dCurrentDate %>
in the week view.

____
"I am a legal alien"
Go to Top of Page

fmmarket
Starting Member

4 Posts

Posted - 09 July 2001 :  04:54:29  Show Profile  Visit fmmarket's Homepage
Hello everybody,

I would like to translate the events calender to german (Dateformat, days, weeks ,month etc.)

Unfortunately I wasn`t able to locate the code or .asp file where i have to do this.

If anybody knows how to do it or knows a translated download I `d be very glad for help.

Thanks

Frank

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