Applies To:
- Content Managers
Training Managers - KnowledgeSmart administrators
Common Causes/Issues:
- You would like to understand what logic drives the KnowledgeSmart expiry date to assess how users will be impacted in different time zones.
Solution Overview:
The KnowledgeSmart Expiry date logic ensures the validity of invites by comparing the current date and time with the expiry date and time stored in the system. Here's a breakdown of how it works:
-
Expiry Date and Time Storage:
- The Expiry Date and Time are stored in the system at midnight GMT.
- This ensures consistency in time zone handling and simplifies calculations.
-
Grace Period Adjustment:
- To accommodate users up to 12 hours behind GMT, a grace period of 12 hours is added to the current date and time.
- This allows users from different time zones to access the system without being disadvantaged.
-
Validity Check:
- The system checks if (CurrentDateAndTime - 12 hours) is less than (ExpiryDateAndTime + 1 day).
- If this condition is met, the invite is considered valid.
- By adding 1 day to the expiry date, it allows users to access the system on the full day of the expiry date, inclusive of the time zone differences.
-
Handling Time Zone Variations:
- The logic ensures fairness for users across different time zones by providing a standardized approach to expiry date calculations.
- Users are granted access based on the expiry date in their local time zone, accounting for potential differences in time zones.
-
Implementation Considerations:
- Ensure consistent handling of time zones throughout the system to avoid discrepancies.
- Implement robust error-handling mechanisms to address any edge cases or exceptions that may arise during date and time calculations.
Tactical Rundown:
- The logic for the KnowledgeSmart Expiry date is as follows:
- If (CurrentDateAndTime - 12hours) is less than (ExpiryDateAndTime + 1day) then the invite is valid
- The Expiry Date And Time is stored at midnight GMT and we add 12 hours as a grace period to CurrentDateAndTime to allow for anyone 12 hours behind GMT.
Still Need Help?