post your comment   print   send to a friend
Rate:  63% | Views: 619
Question categories:  ASP

What happened to date() and time() in ASP.Net?

In ASP.Net you should use:

System.DateTime.Now.ToShortDateString()

and

System.DateTime.Now.ToShortTimeString()

Customer Feedback
Rate:  63% | Views: 619 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Dedicated Server Hosting | Custom Design    Back to serch results
Browse the Base
Knowledge Base
Web Design
  Do It Yourself
    ASP
Messages
 

Blogging at Aplus.Net

Don't forget to check out our blog ! Keep up to date at Aplus.Net.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. How can I display all of the contents of a single-dimension array?
 
2. Does ASP.Net still recognize the global.asa file?
 
3. Is it possible to run client-side .NET code within a browser?
 
4. How do I display data on a web page using arrays instead of Do...While...MoveNext...???
 
5. How do I extract the contents of an array without knowing the size of the array?
 
Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest