How to present text messages as evidence in the Family Court

In the event of a Family Court dispute, it can be important to document or print text messages, to show that they were sent, received, or read at a particular time. But how is it best to present these electronic messages as evidence to the Court?..