Quantcast
Channel: NAV/Navision Classic Client — mibuso.com
Viewing all articles
Browse latest Browse all 2239

Working with DateTime in C/AL

$
0
0
Hi,

I need to subtract 2 hours from the current date and time, and then convert to ISO8601. I am able to get the new DateTime, but cannot find anything on the conversion? Would there be a simpler way to do this?

NewDate := CreateDateTime(TODAY,TIME);
NewDate - (2 * 60 * 60 * 1000)

T.I.A.

Viewing all articles
Browse latest Browse all 2239

Trending Articles