Now() datetime subtraction from Define datetime

samnpti
How to subtract
Define expiry date 2022-03-24 15:30:00
from
Now() which is 2022-02-24 14:57:34.760054

result in minute
  • SRIJAN
    Just subtract dt.now() from expiry time. You will get a timedelta object.
Sign In or Register to comment.