Skip to content

Instantly share code, notes, and snippets.

@Octagon-simon
Created November 7, 2021 15:53
Show Gist options
  • Select an option

  • Save Octagon-simon/e77668b46c3c3ea8b462ac4be74ee151 to your computer and use it in GitHub Desktop.

Select an option

Save Octagon-simon/e77668b46c3c3ea8b462ac4be74ee151 to your computer and use it in GitHub Desktop.
function findNotifDate(date_notified = "2021-11-05 15:00:00") {
/**
* @ findNotifDate : Finds the Date Difference of a Notification
* @ date_notified : The notification date
**/
var date_sent_tmp = new Date(date_notified);
var date_sent = date_sent_tmp.getTime();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment