Here I will show you some routines on how to extract a part of a date, for example the month number of today. Hey, nothing new with that, right? 'I know those routines already are there, hmm something with datepart I think' you might think? Well, I to there are two problems with the VB script date functions: So hard to remember the somewhat obscure syntax ( like datepart("m", Now() ) for current month number and datepart("yyyy", Now() ) for current year number. The second problem is it takes so long to look it up. Therefore I have my own wrapper functions ( together with some other date functions - like show all months in a list etc ) in my own includefile: dateinc.asp. Easy to lookup and it allows me to call those functions what I want ( ( since I am an old C++-programmer actually ).