FormatDateTime Function
1
how to integrate with Zillow using classic ASP
5
Well after searching the internet for something similar to this, I didn't come up with anything...so I made my own! This simple script will track your members' time spent on your website. Please feel free to give comments/suggestions/feedback.
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:
7
Just a quick way to write out an alphabetical list. Useful for menu systems.
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.
8
Configurable number formatter.
5
This function will convert a Date (passed as type TDateTime) to a long-format Julian calendar date (result as type String).
13
daysBeteenDates will calculate the number of days between 2 dates in the form of 'YYYY-MM-DD'.
5
This function returns a Date object being set at 12 A.M. It is useful for comparing dates where you don't know if they'll come set at the beginning of the day or not.
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









