Articles   Dev Forums   Personalize   Favorites   Member Login   ASP Hosting      Active Users:  44
DevASP - ASP and XML Articles, Samples, Toturials, Sample Chapters and resources for Developers Tuesday, May 13, 2008
Home
Articles & Samples
ASP Hosting
Dev Search
Dev Forum
Add Your Articles
Add a Listing
Sample Chapters
Directory Feed
Link to US
Contact

Search Directory
Applications
Articles & Samples
Components
Community
Database
Developer Sites
Downloads
Hosting Services
Introduction
Knowledge Base
Sample Chapters
WebCasts

Trusted by over 7 million customers!
ASP Directory
Applications
Articles & Samples
Components
Developer Sites
Knowledge Base
Sample Chapters
WebCasts
XML Directory
Applications
Articles & Samples
Developer Sites
Error, Bugs & Fixes
Downloads
Introduction
Knowledge Base
Sample Chapters
WebCasts

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP > ASP Function
Search
DevASP

What's New
What's Hot

STRING FUNCTIONS       
Total Hits: 203  |  Today: 0 Author: http://www.aspwebpro.com       Rating:  
Read Reviews | Write Review |              Your Rating: 

String functions are a great way to manipulate and parse the data within your strings, below are some of the most commonly used ones. For our purposes, we will use this variable as an example:...

ASP Server.Execute method       
Total Hits: 69  |  Today: 0 Author: Todorov       Rating:  
Read Reviews | Write Review |              Your Rating: 

The Server.Execute method is a new ASP method, introduced with IIS 5.0 for a first time. You can execute a child ASP page with the Server.Execute and treat the child ASP page as part of the main page. What are the advantages of using Server.Execute, why did Microsoft introduce a new method? The main advantage of using Server.Execute is that you can do a dynamic conditional execution of an ASP pages. For example with the SSI includes you include file like this...

Extremely useful ASP functions       
Total Hits: 209  |  Today: 0 Author: Robert Collyer       Rating:  
Read Reviews | Write Review |              Your Rating: 

Please report any problems found to me ASAP, so I may fix them and build another release. I get literally hundreds of emails asking how to use these functions, and questions relating to them, etc. If you have any enquiries regarding these scripts, email me, but please allow up to 36 Hours for a response.If you are interested in functions similar to the above but allow interaction with databases, then these will be available soon.I hope you find these functions to be as useful and time-saving as ...

Useful JavaScript/VBScript String Functions (Server side)       
Total Hits: 419  |  Today: 0 Author: aspalliance       Rating:  
Read Reviews | Write Review |              Your Rating: 

Common string function in VBScript and JavaScript that will divide a text string into equal portions, left and right....

Functions in ASP       
Total Hits: 4125  |  Today: 0 Author: 4guysfromrolla       Rating:  
Read Reviews | Write Review |              Your Rating: 

You can write functions in ASP similar to the way you write them in VisualBASIC. It is good programming practice to use functions to modularize your code and to better provide reuse....

Format Dates and Times       
Total Hits: 1446  |  Today: 0 Author: Jared Stauffer       Rating:  
Read Reviews | Write Review |              Your Rating: 

To format dates and times you simply need one function: FormatDateTime(). This function is detailed and explained here.......

Useful ASP functions       
Total Hits: 2702  |  Today: 0 Author: Robert Collyer       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article at Stardeveloper.com provides a set of extremely useful ASP functions, developed by Robert Collyer.All of these functions will come into their own when dealing with multiple page forms.In the Examples given, remember to replace the <$ and $> tags with the proper open/close ASP tags....

TIME AND DATE FUNCTIONS       
Total Hits: 251  |  Today: 0 Author: http://www.aspwebpro.com       Rating:  
Read Reviews | Write Review |              Your Rating: 

Time and date functions allow you to customize your web pages in many different ways. Here are some of the most commonly used time and date functions...

MATHEMATICAL FUNCTIONS       
Total Hits: 187  |  Today: 0 Author: http://www.aspwebpro.com       Rating:  
Read Reviews | Write Review |              Your Rating: 

Math functions allow you to perform a variety of operations on number values in your scripts. Here are some of the most commonly used math functions:...

CONVERSION FUNCTIONS       
Total Hits: 197  |  Today: 0 Author: http://www.aspwebpro.com       Rating:  
Read Reviews | Write Review |              Your Rating: 

Conversion functions allow you to change the subtype of a variable. VBScript assigns the variant type to all variables as a default, but there are many cases when you might have to convert a variable to a particular type to satisfy an arguement. A common example would be that you might have a string arguement that returns a numeric value or a numeric arguement that returns a string value. Here are some of the most commonly used conversion functions:...

Changing the Default Date Format       
Total Hits: 121  |  Today: 0 Author: Christopher Miller       Rating:  
Read Reviews | Write Review |              Your Rating: 

When working with dates (such as using my event calendar article's script), it is often necessary to format it into the Web site's native languages format. For example, instead of mm/dd/yyyy, many languages use dd/mm/yyyy.We can accomplish this by using the Locale ID (LCID) session property. By using this property, we can override the web server's default settings. The usage is below....

The Real Basics of Functions in ASP       
Total Hits: 230  |  Today: 0 Author: John Puddifoot       Rating:  
Read Reviews | Write Review |              Your Rating: 

Re-usable code is a boon to developers. It's easy to manage, because it only needs to be written once; then, every time you want to do the same thing, you just call it up again. However, it does require a bit of thought and planning up front. John Puddinfoot walks us through several simple applications for re-usable code in ASP, focusing on functions.As with every design decision, the choice to develop re-usable code is a matter of trade-off. Making the decision to develop re-usable code will he...

Amount of time between dates with DateDiff()       
Total Hits: 974  |  Today: 0 Author: Jared Stauffer       Rating:  
Read Reviews | Write Review |              Your Rating: 

Find out how much time occurs between two dates is easy with DateDiff(). This function is useful if you need to find the amount of time between one date and another, or if you need to find out how much time is left until the end of the year....

Get day, month, year, weekday, and weekday name       
Total Hits: 1632  |  Today: 0 Author: Jared Stauffer       Rating:  
Read Reviews | Write Review |              Your Rating: 

There are five functions that you can call, pass a valid date, and they will return to you the requested part of the date....

To Become an ASP Programmer       
Total Hits: 824  |  Today: 0 Author: Arsalan Aslam       Rating:  
Read Reviews | Write Review |              Your Rating: 

This script shows how to make an efficient script by storing Function and other required thing in different script. It also shows how to make Subs and Functions....

Standardising to UK date format       
Total Hits: 772  |  Today: 0 Author: PPSoftNet       Rating:  
Read Reviews | Write Review |              Your Rating: 

Many of us have had major problems with dates and databases. They seem to do what they please. I am going to give you a function that will standardise your dates into one format, the function can be used very effectively in conjunction with Microsoft Access....

convert DATE to HTTP string date in ASP       
Total Hits: 1140  |  Today: 0 Author: Antonin Foller       Rating:  
Read Reviews | Write Review |              Your Rating: 

DateToHTTPDate and DateFromHTTP functions (source). Enables conversion between OLE datetime (8byte VARIANT-DATE) and http datetime (plain text). Useful for If-Modified-Since and Last-Modified headers....

Display RecordSet Contents       
Total Hits: 1314  |  Today: 0 Author: Steven Smith       Rating:  
Read Reviews | Write Review |              Your Rating: 

Frequently when debugging you'll simply want to view the contents of a recordset on an ASP page. For these special moments, I've written a simple function that does this for me and allows me to quickly set a few common parameters. I've even gone so far as to add the function to a COM object to make it more accessible than an include file....

ASP - Convert String to Date       
Total Hits: 132  |  Today: 0 Author: Todorov       Rating:  
Read Reviews | Write Review |              Your Rating: 

ASP makes converting string to date very easy. We’re going to use the CDate ASP/VBScript function in our ASP code to convert a string to a date value. ASP CDate function has 1 string argument, which is the string to be converted to date. The CDate function converts any valid date/time string expression to Date variant subtype.Consider the following use of ASP CDate function, to convert sDate string to date:...

An ASP Error Report Emailer Function       
Total Hits: 160  |  Today: 0 Author: Brett Burridge       Rating:  
Read Reviews | Write Review |              Your Rating: 

When you build websites for customers, it's often very difficult to find out the source of errors. Often the difficulties are mostly down to inaccurate error reports. For example, an error of "the page shows an error when I log in to the job search page" is a lot more difficult to fix than "the page shows a Microsoft VBScript runtime error number 500 (Variable is undefined) when I access job_search_login.asp".A possible solution to the problem is to display friendly errors on the page. However, ...


1  2  Next >> 


DevASP - Privacy - Disclaimer
Copyright © 2008 DevASP.com