Join us today!

Notifications
Clear all

System time to DT

2 Posts
2 Users
0 Reactions
2,247 Views
Posts: 4
Topic starter
(@jthyge)
Active Member
Joined: 3 years ago
[#1459]

Hi

I have a very simple task that I am struggling with. 

I need to write systemtime to a var type DT.

I try using F_GetSystemtime(); but I can not figure out how to convert the UNLINT to DT. 

DateTime:= ULINT_TO_DT(F_GetSystemTime()) gives me a very strange result. 


Reply
1 Reply
Posts: 34
 Alex
(@alex)
Eminent Member
Joined: 4 years ago

Hello,

Did you try this ?

DateTime:= FILETIME64_TO_DT(F_GetSystemTime());

Reply
Share: