Added long support

Long is what most date libraries uses under the hook, so I believe it would be handy to have support for it.