yes, i know that, we dont need the value1, value2, value3 since the Format function does that automatically i think in COleDateTime, because we are getting the Current Date of the system. Anyway, thank you all for the reply, I will try to figure it out myself.