hello how is there something like DateTimeOffset.Now in php in C# it should return something like 1660991390 is there a way to do the same in php
CodePudding user response:
echo time();
gives you the current unix timestamp.
1660991549
hello how is there something like DateTimeOffset.Now in php in C# it should return something like 1660991390 is there a way to do the same in php
CodePudding user response:
echo time();
gives you the current unix timestamp.
1660991549