Last active
August 8, 2017 18:29
-
-
Save jasp402/8f5bfb291c4d9d8de68cd23a27bc7588 to your computer and use it in GitHub Desktop.
PHP - Bitrix (Generic format date )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$BxDate = date("m/d/Y", strtotime($fecha)); //Bitrix Date | |
$BxDate = date("m-d-Y h:i:s", strtotime($fecha)); //Bitrix DateTime | |
$BxDate = date("m-d-Y", strtotime($fecha)); //SQL Date | |
$BxDate = date("Ymdhis", strtotime("now")); //Current day for random Date | |
/* Date inside Business Process */ | |
//{=System:Now} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment