Slimelite BBS

DateLib.lha

Back to libs

Library to help you calculate dates

Size
245K (250,986 bytes)
Added
2026-11-20 17:28
Downloads
1
Long Description
DESCRIPTION A library that gives you low level functions for date calculations. Includes the following features: - Support for six different date/time measurement systems: Julian, Gregorian, Heis, Julian Day, Modified Julian Day, Scaliger Year (other systems will follow). - Month/Weekday and other date/time string support for 28 languages. - Support for different countries (implementation not finished!). - Calculating leap years. - Functions to calculate the days of a month or a year or between two dates. - Functions to calculate the weeknumber and the weekday. - Check the validity of a date. - Calculating Easter. - Comparing dates. - Powerful functions to handle differences between dates. - Transformations from one time measurement system to the others. - Calculating your local time zone out of your position on the earth. - Calculating the age of the moon and the moon phase. - Check the validity of a time. - Comparing times. - Transforming 24h time format into seconds and back. - Transforming 24h time format to Julian Day time format and back. - Every weekday can be the first day of the week. - Supplement two digit years to four digit years. - Formatting of date and time values into strings. - Parsing date and time values from strings via templates or powerful autoanlysation. - Converting weekday/week/year to day/month/year vice versa. - Converting a date/time pair from local to GMT and vice versa while taking daylight saving time into account. - Autodocs describing all functions of the library. - Interfaces for: C/C++, Modula II, Oberon, Amiga-E, Assembler, Cluster, Blitz Basic 2, ARexx. - Including ANSI-C test example. NEW FEATURES - Updated language strings - Added 7 new languages (thanks to ATO) - Bug fixes in ParseDate() and DateLib-Demo.c - Internal changes and optimizations for future expansions - Changed ParseDate() and FormatDate() %j to "day of the year" for compatibility reasons - Changed FormatDate() interface !!! - Added two banners
SHA-256
82eb5222272907c0c850989df6de7d9a9ff25b2211a23fc543b75d65140f7225