示例#1
0
 public static int GetMonth()
 {
     return(ConvertTimeZone.ConvertFromUtcToTimeZoneMexico(DateTime.UtcNow).Month);
 }
示例#2
0
 public static DateTime GetDateTime()
 {
     return(ConvertTimeZone.ConvertFromUtcToTimeZoneMexico(DateTime.UtcNow));
 }
示例#3
0
 public static int GetYear()
 {
     return(ConvertTimeZone.ConvertFromUtcToTimeZoneMexico(DateTime.UtcNow).Year);
 }