What is the deadline to file a petition for writ of mandamus

What is the deadline to file a petition for writ of mandamus?