Asp.Net Hein

Asp.Net Hein

  • NA
  • 266
  • 167.1k

Get month only from datetime field in database

Jun 5 2016 11:22 PM
How can I get the month value from database field?
 
For example: My database is like that
DatabaseA(Id, Name, CreatedTime, Notes)
 
I want to get month value only of CreatedTime from DatabaseA.
 
Thank you for viewing my question. 

Answers (2)