G120: How To Get Machine Time

Hey Guys, I’m wondering how I would be able to get the machine time of a G120 using TinyCLR OS. I am able to do it while running .NETMF by using Microsoft.SPOT.Hardware.Utility.GetMachineTime() but I can’t find the equivalent in TinyCLR OS.

That precise not method does not exist in TinyCLR. Is DateTime.Now.Ticks not adequate for what you’re trying to do?

2 Likes

Thanks John, I think that might work.