FormatDateTime Function
7
Just a quick way to write out an alphabetical list. Useful for menu systems.
6
Computes the difference between two dates in seconds
2
If you're using passwords of any type on your site, it is best to keep them random. That way they cannot be easily guessed at by intruders.
First, it's good to know a little about ASCII characters. Every character your keyboard can type is actually represented by a number. So the letter A is represented by 65. The letter Z is represented by 90. So all you need to do is generate a series of random numbers, each number between 65 and 90. That would give you a way to find the equivalent letters.
If you want to include numbers too, those are found between spots 48 and 57. I wouldn't use the spots between 57 and 65 - those are odd characters like colons.
So let's say you want to create a 7 character password that contains a random assortment of letters and numbers. You could do something like this:
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
6
boost::format gives you the ablility to safely use printf like formatting as well as positional format specifiers ala .NET.
7
This code will show you how to encrypt user passwords with md5 algorithm and how to start using encrypted passwords if you already have users' database ready. The md5.asp you can download from my site http://www.webcheatsheet.com/asp/md5_encrypt_passwords.php
5
This function will convert a Date (passed as type TDateTime) to a long-format Julian calendar date (result as type String).
4
convert WMI, date - time values
-5
Convert a decimal symbol to a binary
-5
Displays the hex value for an HTML color given the decimal RGB values. Uses Internet Explorer to show the hex value in the color itself.









