Is the V[today] variable the date from Windows or from SAP ?
This is the Windows date. For the SAP date you would need an RFC call.