Join us today!
Notifications
Clear all
System time to DT
Topic starter
Sep 29, 2025 2:17 am
(@jthyge)
Active Member
Joined: 4 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
Oct 14, 2025 8:13 am
(@alex)
Eminent Member
Joined: 4 years ago
Hello,
Did you try this ?
DateTime:= FILETIME64_TO_DT(F_GetSystemTime());
Reply
Forum Information
