Is there a way to get the current date in Ada ?
I'm looking for an equivalent to the C# DateTime.Now() returning a Duration.
I have an event T and I want to mesure if T started more than 30 seconds ago.
You might want to take a look at the Clock function in the package Ada.Real_Time (see also ARM D.8).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With