Convert Datetime From GMT TimeZone to GST TimeZone
Sample Code:
DateTime dt = System.now(); System.debug('GMT Datetime-' + dt); System.debug('GST Datetime-' + dt.format('dd/MM/yyyy HH:mm:ss','Asia/Dubai'));
Sample Code:
DateTime dt = System.now(); System.debug('GMT Datetime-' + dt); System.debug('GST Datetime-' + dt.format('dd/MM/yyyy HH:mm:ss','Asia/Dubai'));