|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Member
Join Date: Apr 2005
Posts: 19
|
Convert .NET DateTime.Ticks
Is there a way to convert .NET DateTime.Ticks to UTC using PHP?
|
|
|
|
|
|
#2 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2009
Posts: 1,425
|
multiply by 1000000
|
|
|
|
|
|
#3 |
|
SitePoint Member
Join Date: Apr 2005
Posts: 19
|
The value of this property represents the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight, January 1, 0001
This is how the value actually looks like 633943144490000000 |
|
|
|
|
|
#4 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2009
Posts: 1,425
|
oh, yeah. divide it I mean. by 1000000
and then convert to unix timestamp which is number of seconds elapsed since 12:00:00 midnight, January 1, 1970 |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 04:05.









Linear Mode
