Convert a Date to a Long Julian Date
13
daysBeteenDates will calculate the number of days between 2 dates in the form of 'YYYY-MM-DD'.
2
This code will get the application title and version information from the project options and display it in the titlebar automatically when the main form is created. The project options are accessed from the Delphi IDE by selecting Project -> Options from the main menu.
1
This snippet shows how to properly implement a message dialog (messagedlg) to confirm some action or event with Delphi.
4
This bit of code will open up the http link in a new browser window. The link should be passed to the variable "HTML_File" as a string (as shown below).
2
This code return program directory.
5
Optimized way to calculate age from timestamp,
the idea is not to use date() call at all if possible.
the idea is not to use date() call at all if possible.
0
This function will take four arguments, the year, month, day and number of days in the future you want to go and return to you as an array (year,month,day) of that date.
It is a simple function that is only for convenience. It is meant to be used in conjunction with the list() command.
It is a simple function that is only for convenience. It is meant to be used in conjunction with the list() command.
0
This function will let you find the Sunday, Monday, Tuesday, etc of a month and return to you that date.
It is a modification of a script I found online at this site: http://filchiprogrammer.wordpress.com/2008/02/27/getting-the-first-monday-of-the-month/.
The function takes three arguments, the month, year and the weekday you are looking for. The weekday is represented by an integer, 0 for Sunday, 1 for Monday and so on.
It is a modification of a script I found online at this site: http://filchiprogrammer.wordpress.com/2008/02/27/getting-the-first-monday-of-the-month/.
The function takes three arguments, the month, year and the weekday you are looking for. The weekday is represented by an integer, 0 for Sunday, 1 for Monday and so on.









