View Single Post
  #15 (permalink)  
Old 10-26-2003, 02:30 PM
superalexman superalexman is offline
WebProWorld New Member
 
Join Date: Oct 2003
Location: mexico
Posts: 1
superalexman RepRank 0
Default

Hello, my name is Manuel Alejandro, I'm a computer science student from Mexico, I'm doing my social service ( I don't know if there's something similar to this in your country but it means that we (students) before we graduate must work for the goverment for free a certain number of hours )and I would appreciate if you could help me with this problem.



I modified the calendar so that when the user clicks on a date, it shows the event and a link to some page. It only shows the link when the current date and hour and the event date and hour are the same.

This creates a problem; the problem is that the date and hour are the user's, , well, to solve this I created a program that generates a xml file with the hour and date of the server (the machine where is my page) and I use an xml object to read the file and get the server's hour and date to determine if the link must be shown or not.


This is ok, it works, but there's is another problem, that the calendar shows (highlights )the current day of the user instead of the server's, so my question is how can I modify the calendar so that it highlights the current day of the server(which is accesible through a file), instead of the user's current day because the dates may differ.
In other words the calendar should read the current date and hour from the xml file instead of obtaining from the user's current date and hour.

I have been looking for the place where the calendar take the hour and date but I haven't find it, so it would be of great help if you could tell me if it can be done calling a method or changing the code.

Well that's all, I hope that you can help me, thanks in advance. My english is not so good, because my native language is spanish, so if you didn't understand something, please tell me. bye.
Reply With Quote