I am using RevenueCat with Firebase that has a field of expires_date
with a type of string
, not Timestamp
, I am writing a rule to allow
only if expires_date
is less than now:
expires_date.toMillis() < request.time.toMillis()
However, expires_date
is string
.
Is there a way to convert string
to Timestamp
?
Here is an example: 2025-02-08T19:59:01Z
.