Convert a Date to a Long Julian Date
6
Computes the difference between two dates in seconds
8
If you only want to compare yyyy-mm-dd you can use the java.sql.Date class, the valueOf method does the trick. It's perfectly safe as the sql Date class is a subclass of the Date class.
Check out the docs here for more detail.
enjoy
Check out the docs here for more detail.
enjoy
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).
4
convert WMI, date - time values
2
This code return program directory.
13
daysBeteenDates will calculate the number of days between 2 dates in the form of 'YYYY-MM-DD'.
7
A handy class I use all the time to encapsulate the idea of whether two events coincide. For example, given a time period representing a shift, and a list of time periods representing transactions or sessions or whatever, find which ones are either totally or partially within the time period. This class make it a bit easier.
10
How Long Has It Been Since a Certain Date?









