在VB.NET / PHP中使用时间麻烦[重复]

This question already has an answer here:

how I can get same result for using echo time ; in php in vb net I try use now but it's not like time in php example : if use echo time ; in php = 1501791815082 but if I usenow` in vb net it's not same. Sorry for bad English.

</div>

One way you can access time in vb:

Dim theDate As DateTime = System.DateTime.Now

You can find more information at DateTime.Now Property