# timeGetSystemTime

```csharp
[DllImport("winmm.dll", SetLastError = true)]
public static extern uint timeGetSystemTime(
   IntPtr pmmt,
   uint cbmmt
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/timeapi/)
