Join us today!
Notifications
Clear all
System time to DT
Topic starter
Sep 29, 2025 2:17 am
(@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
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
- 17 Forums
- 410 Topics
- 1,111 Posts
- 1 Online
- 1,193 Members
Our newest member: Ed
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed
