WebSite-Watcher 4.42  -  Homepage  -  Help-Start  -  Topics  -  Previous  -  Next

Date variables

If the daily date is part of an URL, you can use a date variable within the URL which will be replaced with the daily date when the bookmark is checked.

An example for such an URL is:
http://www.domain.com/file<$date$,'yyyy-mm-dd',0>.htm

A result would be:
http://www.domain.com/file2002-03-15.htm


Usage:

<$date$,format,DayDifference>
<$date$,format,DayDifference,MonthNames>


The parameter MonthNames is only required, if the format contains mmm or mmmm (descriptions of date formats see below). If the parameter MonthNames is not available, WebSite-Watcher will use English month names. If you define the parameter MonthNames, then you have to separate the month names with a colon, for example jan:feb:mae:apr:mai:jun:jul:aug:sep:okt:nov:dez.


Date format:



Day difference:

here you can add/subtract days to/from the current date.



If you append the character "h", "m" or "s" to the differences value, then the unit will be changed to hours, minutes or seconds.



Examples:

http://www.domain.com/file<$date$,'yyyy-mm-dd',0>.htm
http://www.domain.com/changes<$date$,'yy-mm',0>.txt
http://www.domain.com/events-<$date$,'mmm-dd',1>.html
http://www.domain.com/news_<$date$,'mmmmyyyy',0,jaenner:februar:maerz:april:mai:juni:juli:august:september:oktober:november:dezember>.html