Google Apps Script is no doubt the best when you are trying to automate the boring stuffs that you do on day to day basis. Google has created a complete ecosystem including Google Big Query, Google Drive, Google Colab and Google Apps Script by using these you can fully utilize the power of cloud and also without having the worry related to system downtime as all these services are in the cloud. Here in this post let’s see a small Google Apps Script code to find the Days of the week as a float number.
Below is the Google Apps Script Code to find the days of the week:
function GetTodaysDay() { var Todaysdate = new Date(); var DayAsFloat = Todaysdate.getDay(); Logger.log(DayAsFloat); }
The above code will help you out when you want to perform some kind of calculation based on the days of the week. For me, i just want to rename the files i received on specific days out of all the days in a week.
To get more detailed knowledge about Google Apps Script, you can check the official website. Also if you want to explore more codes/posts related to Google Apps Script on our website, then you can find it here.
If you have any questions or if you need any help please get in touch with me using the comment section below.
Leave a Reply