add extension method for datetime
move namespace