declare network type in date time test

this is best location to do this declaration, as it is when we know
what type the file falls into