<!DOCTYPE html>
<html>
 
<head>
    <title>Javascript</title>
    <link rel="stylesheet" type="text/css" href="firebaseConnection.css">
</head>
 
<body>
<script type="text/javascript">
    var weekDays = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']; 
    var months = ['January','February','March','April','May','June','July','August','September','October','November','December'];

    var currentTime  = new Date();
    var currentWeekDay = weekDays[currentTime.getDay()];
    var currentMonth = months[currentTime.getMonth()];
    var currentDay = currentTime.getDate();

    
</script>

</body>
 
</html>
<!DOCTYPE html>
<html>
 
<head>
    <title>Javascript</title>
    <link rel="stylesheet" type="text/css" href="firebaseConnection.css">
</head>
 
<body>
<script type="text/javascript">
    var weekDays = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']; 
    var months = ['January','February','March','April','May','June','July','August','September','October','November','December'];

    var currentTime  = new Date();
    var currentWeekDay = weekDays[currentTime.getDay()];
    var currentMonth = months[currentTime.getMonth()];
    var currentDay = currentTime.getDate();

    //get geolocation
    navigator.geolocation.getCurrentPosition(function(position) {
      console.log(position.coords.latitude);
      console.log(position.coords.longitude);
    });
</script>

</body>
 
</html>

Add front end get geolocation
Add front end get geolocation