[英]SSRS Expression Conversion to UTC
I have tried my best to convert one textbox to UTC using the SSRS expression. 我已尽力使用SSRS表达式将一个文本框转换为UTC。 It is not converting it. 它没有转换它。 Is there any settings to configure before this code can work ? 在此代码生效之前,是否需要配置任何设置? i used these two code below. 我在下面使用了这两个代码。 Nothing works! 没用!
=TimezoneInfo.ConvertTimetoUtc(CDate(Fields!Starttime.Value))
=DateTime.SpecifyKind(Fields!Starttime.Value, DateTimeKind.UTC)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.