Skip to content

Commit 5b5c137

Browse files
committed
Log current date
1 parent 396eb77 commit 5b5c137

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ if (timezone < 0) {
3737

3838

3939
async function start() {
40+
console.log("Current time:", new Date());
4041
console.log("Getting analytics from", startDate, "to", endDate);
4142

4243
getMetric("pageviews");
@@ -121,4 +122,4 @@ function writeToCSV(data, metric) {
121122
.then(() => console.log(`The CSV file for ${metric} was written successfully`));
122123
}
123124

124-
start();
125+
start();

0 commit comments

Comments
 (0)