CurrentDateTimeInAmsterdam

  public static DateTime CurrentDateTimeInAmsterdam(this DateTime date)
      {
         TimeZoneInfo localZone = 
TimeZoneInfo.FindSystemTimeZoneById("W. Europe Standard Time");
         DateTime localTime = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, localZone);

         return localTime;
      }
Example:
 label1.Text = new DateTime().TimeInAmsterdam().ToString();

Description

Get the current date time in Amsterdam

Details

Double click on the code to select all.

 

;