Skip to content

Instantly share code, notes, and snippets.

@myui
Created November 30, 2017 06:13
Show Gist options
  • Save myui/eddc25df77441da20f7b6af2141e3610 to your computer and use it in GitHub Desktop.
Save myui/eddc25df77441da20f7b6af2141e3610 to your computer and use it in GitHub Desktop.
timezone: Asia/Tokyo
+task1:
echo>: ${moment(session_time).format()}
+task2:
echo>: ${moment(session_time).subtract(1,'months').format('YYYYMM')}
+task3:
echo>: ${moment(session_time).subtract(7,'days').format('YYYYMMDD')}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment