Adding measure timestamp while fetching from db.