Baskaran Ramasamy

Sunday, 24 April 2016

Display Time only in MVC



public string Index() 
{ 
  return DateTime.Now.Tostring("T"); 
} 
O/P:    10:20 AM

Posted by Baskaran at 22:00
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Baskaran's Recent Posts

  • ►  2020 (2)
    • ►  August (1)
    • ►  July (1)
  • ▼  2016 (66)
    • ►  September (1)
    • ►  May (4)
    • ▼  April (13)
      • OOPS
      • Display Time only in MVC
      • WEB API - PUT
      • WEB API - POST
      • WEB API - GET (with value)
      • WEB API - GET(Without pass Value)
      • MVC JSON-GET method to Display
      • DAL
      • MVC with Web API
      • MVC
      • jQuery & CSS - Remove/Add display:none
      • Asp.net Web Form in the Model Popup(Ajax Tool Kit).
      • Encrypt and Decrypt Username or Password and Store...
    • ►  March (48)
  • ►  2015 (1)
    • ►  October (1)

Baskaran's Profile

Baskaran
View my complete profile
Simple theme. Theme images by enjoynz. Powered by Blogger.