The procedure ec_last_second_in_the_day is not defined in the server.

Show another procedure: