Author |
Topic |
GauravBhabu
Advanced Member
4288 Posts |
Posted - 13 September 2002 : 20:30:23
|
I can't tell, because I don't know what you want to use it for? |
CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated) |
|
|
Alex123
Junior Member
Greece
237 Posts |
Posted - 13 September 2002 : 20:43:58
|
Hi GauravBhabu,
I only want for the "Event Calendar" to show the Today’s Date, not based on the server's hours, where my forum is hosted, but based on the forum's hours. I add 7 hours to the Forum's Date, through the "Server Date/Time Configuration" option.
You have helped me enormously already, so if this is too much I ‘ll understand
Thanks Alex
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 13 September 2002 : 21:02:27
|
Find this around Line 140 in events.asp
datToday = date()
Replace as below
datToday = DateValue(strForumTimeAdjust)
You might need to change all Date() occurances to DateValue(strForumTimeAdjust) |
CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated) |
|
|
Alex123
Junior Member
Greece
237 Posts |
Posted - 13 September 2002 : 21:30:57
|
Thank you again. It worked just fine
Thanks Alex |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 13 September 2002 : 22:13:06
|
You are welcome |
CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated) |
|
|
Alex123
Junior Member
Greece
237 Posts |
Posted - 14 September 2002 : 06:30:31
|
Hi GauravBhabu,
Sorry to be of such a pain , but after I added the last tow scripts you suggested, one for "events.asp" and the other for "events_functions.asp" , whenever I try to delete an event, I get the following error:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/forum/events_functions.asp, line 1118
Could help me with this please ?
Thank you again very much Alex
|
Edited by - Alex123 on 14 September 2002 06:36:47 |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 14 September 2002 : 07:38:12
|
first, Thanks GB again~~ i learn one more lesson from you !!
Alex123, i also applied GB's code on my Events MOD. and it work fine for me... no any problem about edit/delete.
so i think maybe your problem not cause from delete event.. if you change something about Date format, maybe should check it again. there are many places need take care, especially the Date issue of Events MOD. |
|
|
Topic |
|