Skip to content

Instantly share code, notes, and snippets.

View Sharparam's full-sized avatar
🏭
The factory must grow!

Adam Hellberg Sharparam

🏭
The factory must grow!
View GitHub Profile
@Sharparam
Sharparam / DateTimeExtensions.cs
Created October 14, 2012 14:20
WoW AddOn packager (with Git support using NGit)
using System;
namespace F16Gaming.WoW.AddonPackager.Extensions
{
public static class DateTimeExtensions
{
public static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, 0);
public static long ToUnixTimestamp(this DateTime time)
{