Author |
Topic |
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 07 July 2001 : 04:06:17
|
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
|
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 |
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 07 July 2001 : 08:06:12
|
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" |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 07 July 2001 : 21:12:16
|
to format it like 7/01/2001, you can simply ask it to print date instead of formatdateTime(date,1)
|
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 07 July 2001 : 22:09:34
|
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" |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 07 July 2001 : 22:32:47
|
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 %>
|
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 08 July 2001 : 06:26:19
|
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" |
|
|
fmmarket
Starting Member
4 Posts |
Posted - 09 July 2001 : 04:54:29
|
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
|
|
|
|
Topic |
|