Category Archives: Developers

Find Changeset By Comment for Visual Studio 2015 and 2013

Origin
Based on findchangeset.codeplex.com, but ported for Visual Studio 2015 and 2013. VS2015 port is done by Jason Croghan. See download links below.

Tested
Tested on Visual Studio 2015 Update 3, but should work regardless which update you have.
Tested on Visual Studio 2013 Update 3, but should work regardless which update you have.

Download for Visual Studio 2015
Zipped installer
Source code

Download for Visual Studio 2013
Zipped installer
Source code

HighChart datetime json

Examples from HighCharts show that they expect dates to be formatted as Date.UTC(2014, 0, 1). Date.UTC actually returns milliseconds since 1 jan 1970. So you can send it as a number from your backend.

In C# you would use the following method:

/// <returns>Milliseconds since 1 jan 1970</returns>
public static long UnixTimestamp(this DateTime date)
{
return (long)(date – new DateTime(1970, 1, 1)).TotalMilliseconds;
}