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