Hey Kodular Community!
I’m excited to share with you my latest extension called “TimeExpired.” This extension is designed to help you easily manage expiration dates and times within your applications.
Key Features:
- SetExpirationDateByDate: Set the expiration date based on a specific date.
- SetExpirationDateByDateTime: Set the expiration date based on a specific date and time.
- IsExpired: Check if an item has expired.
- GetFormattedExpirationDate: Retrieve the expiration date in a specified format.
- GetDaysLeft, GetHoursLeft, GetMinutesLeft, GetSecondsLeft: Calculate the remaining time until expiration.
Events:
- OnItemExpired: Triggered when a specific item has expired.
- OnDateParsingError: Triggered if there is an error parsing the date.
- OnDateTimeParsingError: Triggered if there is an error parsing the date and time.
This extension assists you with better time management and provides flexibility in handling expiration dates. Feel free to try it out and share your feedback!
Block:
Download:
com.rasitech.timeexpired.aix (7.9 KB)
Thank you so much!