With DTCalc you can calculate with date and time periods and present the results in a convenient, human readable format.
- Date & time LSL script
- Calculate with dates & times
- User-defined formatting
- Localization & translation
- Easy to integrate
- Includes example & manual
- Includes demonstration object to test how DTCalc works using chat.
DTCalc can correctly calculate dates based on the current date and any offset specifed. It has a very simple, human readable interface using link messages, which makes it easy to integrate in your own scripts and objects.
e.g. ADD 2 WEEKS 3 DAYS
ADD 1 YEAR -98 DAYS 928773 SECONDS
DTCalc takes into account leap years in the Gregorian calender, making is correct from several hundred years in the past upto the foreseeable future.
You can translate and localize DTCalc to display date and time in a large variety of ways, using format specifiers similar to those found in PHP.
e.g. SET FORMAT Y-m-d ('2007-03-26')
SET FORMAT h:i A ('2:47 AM')
SET FORMAT l jS ('Friday 13th')
SET WEEKDAYS SHORT Ma Di Wo Do Vr Za Zo (results in dutch weekday abbrevated names)
Included is a basic example of how to fully integrate DTCalc with Second Life chat commands in just a few lines of code as well as a demonstration object that you can rez anywhere and chat commands to.
This version is COPY/TRANSFER! You can include it in any object you have and sell that object to others. You cannot change the script, to do that, look for the Modify/Copy/Transfer version
This version is ideal for businesses that sell vendor, rental, casino or similar systems.
Perfect but cant find full perm script D:
This was perfect for what I needed it for.