-
-
Save youminkim/9733277 to your computer and use it in GitHub Desktop.
google apps script general functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function now_timestamp(){ | |
return new Date().getTime(); | |
} | |
function timestampToDate(sec) { | |
return new Date(sec*1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment