使用夏令时将UTCDatetime转换为本地日期时间

时间:2015-09-11 07:27:32

标签: sql sql-server

我想将UTCdatetime转换为本地日期时间。我得到了它但是当我设置时区[INFO] : Running dexer: C:\Program Files\Java\jdk1.8.0_60\bin\java.exe "-Xmx512M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=C:\android-sdk-win\platform-tools" "-jar" "C:\android-sdk-win\build-tools\23.0.1\lib\dx.jar" "--dex" "--output=C:\Users\vasilis\Documents\Titanium Projects\pop\build\android\bin\classes.dex" "C:\Users\vasilis\Documents\Titanium Projects\pop\build\android\bin\classes" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\lib\titanium-verify.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.map\2.2.3\map.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.map\2.2.3\lib\google-play-services.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.4.0\cloudpush.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.4.0\lib\aps-cloudpush-1.1.4.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.4.0\lib\google-play-services-base.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.4.0\lib\google-play-services-gcm.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\ti.sq\0.2\tisq.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\com.gbaldera.titouchgallery\1.1\titouchgallery.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\com.rkam.swiperefreshlayout\0.5\swiperefreshlayout.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\kroll-v8.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-analytics.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\aps-analytics.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-android.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\jaxen-1.1.1.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\ti-commons-codec-1.3.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\kroll-common.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\titanium.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-app.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-ui.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\nineoldandroids-appc-2.4.0.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-filesystem.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-media.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-appcompat.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\android-support-v4.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\android-support-v7-appcompat.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-locale.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-network.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\thirdparty.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-xml.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-utils.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-geolocation.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-accelerometer.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-contacts.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-map.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-calendar.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-gesture.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-platform.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-database.jar" 时,它显示我1小时的差异。我希望确切的时间作为当地时间。

0 个答案:

没有答案