FormatDateTime Function





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 Next »
7
Date Submitted Mon. Aug. 27th, 2007 5:24 PM
Revision 1
Beginner 1jump2
Tags alphabet | alphabetical | ASCII | ASP | chr
Comments 2 comments
Just a quick way to write out an alphabetical list. Useful for menu systems.
6
Date Submitted Fri. Aug. 18th, 2006 11:01 AM
Revision 1
Scripter ASmith
Tags Date | python
Comments 0 comments
Computes the difference between two dates in seconds
2
Date Submitted Sun. Sep. 9th, 2007 12:15 PM
Revision 1
Beginner bala
Tags ASP | VBSCRIPT
Comments 0 comments

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
Date Submitted Mon. Aug. 7th, 2006 4:48 PM
Revision 1
Scripter bertheymans
Tags Date | Java | Time
Comments 0 comments
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
6
Date Submitted Thu. Aug. 3rd, 2006 12:10 PM
Revision 1
Helper bobbyrward
Tags boost | CPlusPlus | Format | printf
Comments 0 comments
boost::format gives you the ablility to safely use printf like formatting as well as positional format specifiers ala .NET.
7
Date Submitted Thu. Sep. 14th, 2006 12:12 AM
Revision 1
Beginner Bouvillon
Tags ASP | Data
Comments 0 comments
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
Date Submitted Fri. Oct. 27th, 2006 9:33 AM
Revision 1
Helper bright
Tags Date | Delphi | Julian
Comments 0 comments
This function will convert a Date (passed as type TDateTime) to a long-format Julian calendar date (result as type String).
4
Date Submitted Thu. Mar. 2nd, 2006 12:03 PM
Revision 1
Syntax Master dannyboy
Tags Date | VBSCRIPT | WMI
Comments 0 comments
convert WMI, date - time values
-5
Date Submitted Tue. Feb. 28th, 2006 5:20 AM
Revision 1
Syntax Master dannyboy
Tags ASP | Convert | VBSCRIPT
Comments 0 comments
Convert a decimal symbol to a binary
-5
Date Submitted Tue. Feb. 28th, 2006 5:27 AM
Revision 1
Syntax Master dannyboy
Tags ASP | Convert | VBSCRIPT
Comments 0 comments
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.

« Previous 1 2 3 4 Next »