12345678910111213141516171819 |
- using System;
- namespace SiwiFms.Helper
- {
- public class ComTool
- {
- public static string GetMonth()
- {
- string month = DateTime.Now.Month.ToString();
- return month;
- }
- public static string GetYear()
- {
- string year = DateTime.Now.Year.ToString();
- return year;
- }
- }
- }
|