codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Want Date Format in dd/mm/yyyy.  frmsasp at 08:22 on Thursday, October 20, 2005
 

Dear Friend,


I want date in a dd/mm/yyyy format with validation in TextBox. Is anybody guide me how shall ?

As I got date with dd/mm/yyyy but it will also accept 32/02/2005. Though Feb has less 30 days.

Also when I compare two textbox it will not evalute properly. eg I want TextBox2 date greater then TextBox1. So I had used
CompareValidator, & select type="date" but it will not evalute.

Pl guide me.


Thanking You,


  Re: Want Date Format in dd/mm/yyyy.  muthugv at 09:48 on Wednesday, October 26, 2005
 

for comparision you have to write javascript manually - that really improves performance - you can get many codes from internet. for date format - check your system date/time settings format.. sometimes eventhough you fecth properly from database or system.date - IE will formats it based on Computer's default setting. Try Format() in ASP.net .. also.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Perl Scripting Strings
•  Re: how to create forum using asp.net with c# language?
•  Re: datasource
•  jhjgjgjghjjghjghj
•  servlets
•  Re: Need Code
•  Re: Help with Easy Prog
•  Re: should i use a multidimensional array???
•  Re: can anyone pinpoint the error.


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008