write stations to database including joda timestamp