This topic is locked

Modify date?

12/9/2003 5:33:52 PM
ASPRunnerPro General questions
author

Hi - Brilliant product..many thanks!! I'm just trying to produce a simple dropdown for the date and i've selected the date field and it works well. But.....the date span is massive - much too great from 1953 to 2053. I've searched all the asp for this and can't easily find the value or span. Can it be changed at all?
Many thanks
Michael <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=255&image=1&table=forumtopics' class='bbc_emoticon' alt=':D' />

Sergey Kornilov 12/9/2003

Michael,
you can open include/..._aspfunctions.asp file in any text editor and find Function WriteYears(d, f). Change 50 to required value in the following line:

for x=Year(d)-50 to Year(d)+50


Best regards,

Sergey Kornilov