Javascript Current Date To String Python Functions With Parameters