date & amount

Results 1 to 2 of 2

Thread: date & amount

  1. #1
    Join Date
    Dec 1969

    Default date & amount

    Hi<BR><BR>I have a page display all data from database, it works fine. Now the date shows is 8/22/2000, how can I change it to 08/23/00. Also the amount shows is 1234.5, how can I make it to 1,234.50<BR><BR>Please help me, thanks in advance.

  2. #2
    Join Date
    Dec 1969

    Default RE: date & amount

    &#039To get the current date, simply use this code:<BR><BR>dateCurrent = Date()<BR>Response.Write dateCurrent<BR><BR>&#039And if you want to round 2 decimal places, try this:<BR><BR>Response.Write ROUND(variable, 2)<BR><BR>&#039I hope this works!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts