Wrox Programmer Forums
|
Forum and Wrox.com Feedback Post your suggestions for improving the Forums or Wrox.com or questions for the staff here. "Where can I find the code for my book?"
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Forum and Wrox.com Feedback section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 2nd, 2005, 06:38 AM
Registered User
 
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to change date format

hi All,

i want to Date format "dd/mm/yyyy"?


Thanks & Regards.

G.prasad

  #2 (permalink)  
Old July 2nd, 2005, 07:04 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I think it would really help if you:

a) posted in the right forum, applicable to the technology you're working with. This forum is for general feed back about the forum, not for technical questions.

b) specify the language you're working with. Right now, it's impossible to do a suggestion.

Did you google for this? Usually, something like "date format" YourTechnology brings up a lot of useful results.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #3 (permalink)  
Old September 14th, 2005, 01:28 PM
Registered User
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

use the format option in sql statement

sSql = " SELECT Format(dateField.date, 'dd-mm-yyyy') as dateformatted,"



result would be <%=dateformatted%> dd/mm/yyyy

kanu






Similar Threads
Thread Thread Starter Forum Replies Last Post
CHANGE DATE FORMAT Vision G Access VBA 2 April 8th, 2008 12:16 PM
Change default date parameter format JeffHickman Reporting Services 0 February 14th, 2006 06:52 AM
need to change date format desprate Access VBA 1 April 10th, 2005 12:45 PM
Change date format Patrick19 Classic ASP Basics 1 March 14th, 2005 06:23 PM
date format change yuvalk SQL Server DTS 2 March 29th, 2004 05:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.