I'm a little bit new to javascript (but not scripting in general). Does anyone know a good way to compare dates which use this formatting? Need it for 'google script' if statements.
if ('14 Jul 16 - 16.34.06' > '5 May 17 - 08.24.27');
{
;do this
}
;another example
if ('7 Oct 16 - 09.19.55' < '28 Nov 16 - 02.06.12')
{
;do this
}
Should I use moment.js perhaps? Seems a bit big.
Thanks for the help!