BrotherDongDong 2015-08-29 05:08 采纳率: 0%
浏览 2181

c# .net 时间格式化,怎样设置英国时区?

 private static SimpleDateFormat formatter = new SimpleDateFormat("dd/MMM/yyyy:HH:mm:ss Z", Locale.ENGLISH);
string startTime = formatter.format(DateTime.Now); //请求时间

我需要翻译上面这段java代码到c#代码

  • 写回答

1条回答 默认 最新

  • threenewbee 2015-08-29 08:05
    关注
    评论

报告相同问题?