If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Collection with various date routines
2 posts
• Page 1 of 1
Collection with various date routines
Here are some modules in FS. I made/collected/converted them to Ruby as an exercise to learn Ruby. Maybe someone has some use for them.
Modules/routines:
- JulianDate
Calculates the Julian Day number from a Gregorian date
- LeapYear
Returns True if a year specified is a leap year.
- Easter
Calculates the date of easter
- DaysBetween
Calculates the days between dates
- Today
- Now
Live system date and time in a string
- Biorhythm
Simpel biorhythm calculation. Can be extended.
Modules/routines:
- JulianDate
Calculates the Julian Day number from a Gregorian date
- LeapYear
Returns True if a year specified is a leap year.
- Easter
Calculates the date of easter
- DaysBetween
Calculates the days between dates
- Today
- Now
Live system date and time in a string
- Biorhythm
Simpel biorhythm calculation. Can be extended.
-
Yuroun - Posts: 27
- Joined: Mon Dec 19, 2011 7:32 pm
- Location: Tilburg, The Nethlands
Re: Collection with various date routines
thanks Yuroun
that's a nice little collection! these are very handy and will go into my toolbox!
Best Regards
that's a nice little collection! these are very handy and will go into my toolbox!
Best Regards
- Jay
- Posts: 276
- Joined: Tue Jul 13, 2010 5:42 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 45 guests