Tag Archives: SOQL Datetime

SOQL Datetime literal in javascript for current Datetime.

By | April 19, 2017

Sometimes we need to use AJAX toolkit to do some SOQL/DML on Data from a custom button, which executes javascript. Here in this post we will just get current Datetime and then we will create datetime literal as per SOQL standard to fetch some records as per requirement. For more information about SOQL date/datetime formats Click… Read More »