Razor/C# date to Javascript
<p>I have a Razor/C# date coming from a controller I am calling from jQuery AJAX.  The controller triggers and I am pulling it back through HttpContext.Current.Session in my View.</p>

<p>I am getting a date back when I debug the View and the Razor, BUT the issue is I keep getting date to format correctly in the Javascript. I keep trying to console out the output and it keeps giving me an error:
"Uncaught SyntaxError: missing ) after argument list"</p>

<p>The output in Chrome's Developer window is:
<a href="https://i.stack.imgur.com/QMkP3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QMkP3.png" alt="Session Date Issue"></a></p>

<p>You can see that for some reason teh date is either not converting to a string properly or there is some sort of formatting happening that I am just not seeing or understanding.  Any help is appreciated.</p>

<p>My JS and Razor is below:</p>

<pre><code> function UpdateShowTimeList() {
     @{ 
         var dateFromHubTimeList = DateTime.MinValue;
         var objTimeList = HttpContext.Current.Session["CalendarSelectedDate"];

         if(objTimeList != null)
         {
             dateFromHubTimeList = Convert.ToDateTime(objTimeList);

         }

     }
   //Keep getting error on this line and have NO idea why
    console.log("Session Selected Date Show Time List: " +  @dateFromHubTimeList.ToString("dd/MM/yyyy HH:mm"));


  //jQuery AJAX is here and is working.
    }
</code></pre>