I believe, you are having a VP in which there is date and time displayed. You want to parameterize the same. But as per my info, this is not possible. In this case, you should remove this property of the VP.
You shouldn't be using Robot's VPs for this type of check. In fact Robot's VPs are more trouble than they are worth.
Assuming you actually want to verify the date, what i do for dates is the same for the test data which is kept in a file/database as well. I use a notation to indicate based on the current system date what date should be indicated.
'* 1) indicates whether the date is to be
'* prior to or after today (symbol '+' or '-')
'* 2) indicates the number by which to add or substract
'* 3) indicates the increment type, either Month, Day or Year
'* Examples are:
'* DB stores Means
'* +0 Now (today)
'* +5M Same Date 5 months from now
'* -4W Same Date 4 Weeks Ago
'* +3D Plus Three Date from now
'* So if today was January 2, 2002 and the Data Driven DB had
'* the value "+2D" which means in two days after today, it's
'* date equivalent would be January 4, 2002.
'* sResultFormat What do you want the date to look like, accepts all formats
'* That Format() function accepts, the default is the
'* specified Short Date format set up in Regional Settings.
'* Examples are:
'* "MM/DD/YYYY" 06/01/2002
'* "DDDD, MMMM DD, YYYY" Thursday, January 02, 2002
'* "M-D-YY" 6-1-02
'* "M$D$YY" 6$1$02
'* An Example of the function call:
'* SetTextBox AgeDate("+5M", "MM/DD/YYYY"), "PO Dates Maintenance - Do Not Ship After"
'* Or more concretely
'* SetTextBox AgeDate(msShipAfterDate, "MM/DD/YYYY"), "PO Dates Maintenance - Do Not Ship After"