implement set currentdatetime