I assume myDate is your date variable. If you are using the current system date, just use the Now function.
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.