c# - I want get month from date that save in data base . How is it? -
how can month date saved in info base.
int date = convert.toint32(dr["ddate"].tostring());
assuming date format 'yyyy-mm-dd'
int month = datetime.parse(dr["ddate"].tostring()).month; c# asp.net
No comments:
Post a Comment