If a URL contains a daily date, you can use a date variable. The variable is replaced with the current date when the Bookmark is checked.


Example of a URL with a date variable:


https://www.domain.com/file<$date$,'yyyy-mm-dd',0>.htm


Resulting URL:


https://www.domain.com/file2026-03-15.htm

Usage

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


If the date format contains the variable "mmm" or "mmmm" for month names, WebSite-Watcher uses English month names by default.


If you require localized month names, define them using the MonthNames parameter. Specify exactly 12 names separated by a colon, for example:

jan:feb:mae:apr:mai:jun:jul:aug:sep:okt:nov:dez

Date format

yy

Current year with 2 digits

yyyy

Current year with 4 digits

m

Current month with 1 or 2 digits, no leading zero (1-12)

mm

Current month with 2 digits, leading zero (01-12)

mmm

Name of current month, 3 characters (jan, feb...)

mmmm

Full name of current month

d

Current day with 1 or 2 digits, no leading zero (1-31)

dd

Current day with 2 digits, leading zero (01-31)

hh

Hours

nn

Minutes

ss

Seconds

"xx"

Characters enclosed in quotes are displayed as-is, and do not affect formatting.

Day Difference

The DayDifference parameter allows you to add or subtract a specified number of days to or from the current date.


  • 0 ... Current date
  • 1 ... Tomorrow
  • -1 ... Yesterday
  • -2 ... The day before yesterday


If you append the character "h", "m", or "s" to the parameter, the value is added to hours, minutes, or seconds.


  • 1h ... plus one hour
  • -100m ... minus 100 minutes
  • 5s ... plus 5 seconds



Examples:

https://www.domain.com/file<$date$,'yyyy-mm-dd',0>.htm
https://www.domain.com/changes<$date$,'yy-mm',0>.txt
https://www.domain.com/events-<$date$,'mmm-dd',1>.html
https://www.domain.com/news_<$date$,'mmmmyyyy',0,jan:feb:mae:apr:mai:jun:jul:aug:sep:okt:nov:dez>.html