Tuesday, January 6, 2015
Difference between CREATEDATETIME( DATE,TIME) and CURRENTDATETIME
It is requirement for me to insert date and time in the data table.
In NAV , I have found that there are two functions that provide the output of datetime.
Ex: (1.) Datetime := CREATEDATETIME( DATE,TIME);
(2.) Datetime := CURRENTDATETIME;
The only difference I have found is that function (1) have facility to send parameters of date and time in separate way while function (2) directly provide current date and time in once.
It is a small issue that we had that what is best function to use with. But I think its up to developer to choose best method which is suit for the situation.
Thank you.
Regards,
Dinuka.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment