Click here to Skip to main content
15,846,346 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
if the date is changed, refresh automatically the page
Mohibur Rashid 10-Jun-14 23:30pm    
Well, get current date, save it in a variable, check your date status periodically, if comparison failed refresh the page.
[no name] 11-Jun-14 2:31am    
There isn't a better answer.
Mohibur Rashid 11-Jun-14 3:36am    
Kornfeld Eliyahu Peter 11-Jun-14 2:52am    
Do you want to refresh the page at every midnight? Or after 24 hours?
NeverJustHere 11-Jun-14 8:52am    
If it's YOUR computer, then set up a scheduled job.

If it's the client running your code, then use javascript to refresh when the date changes.

1 solution

if you are on a linux server you can make use of corn jobs, I'm not sure about the windows server
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900