#raamyy
1 messages · Page 1 of 1 (latest)
As in the frozen time on the test clock? Or something else?
yes, the test clock shows on the dashboard that it is currently at 10 Dec 2024
I want to make comparisons on the application level with the current time. So if i use DateTime.Now it will get the actual current date irl. But I will need to get the current time with respect of testclock
Gotcha, in that case you can retrieve the test clock and check its frozen_time property https://stripe.com/docs/api/test_clocks/retrieve
does the subscritpion object contain a reference for the test clock ?
And timestamps on the subscription should properly simulate what they would show at the frozen time on the test clock
I believe it does, checking the API reference...
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I will check and will let you know if I have further concerns