Convert Date Format using PHP? Convert date format yyyy-mm-dd => dd-mm-yyyy its possible using strtotime() and date() function in PHP and below is the example: [PHP] $DateValue = “2016-01-05”; $newDate…
Tag:
Date Functions
-
- APEXSALESFORCESalesforce CustomizationSalesforce.comSOQL
How to get the Current Date and Year Using Apex Class?
How to get the Current Date and Year Using Apex Class? System.debug(‘************ ‘ + system.today().format()); System.debug(‘************ ‘ + date.today().format()); Output:- ************ 07/16/2014 ************ 07/16/2014 How to get current year using…