Skip to main content
Guides

Your Phone's Photo Timestamp Is Not Proof: What EXIF Data Shows and What It Does Not

In short

The date in your photo comes from your phone's clock and can be edited in seconds. Here is what EXIF shows, and what an outside timestamp adds.

Your Phone's Photo Timestamp Is Not Proof: What EXIF Data Shows and What It Does Not — Swiss Trust Layer

Lena moves into a flat in Lucerne on a cold morning. She sees a long crack in the bathroom tile and takes six photos with her phone. Two years later, the landlord says the crack is new. Lena opens her photos and points to the date under each one.

That date feels like proof, but it is a note written by the phone, and anyone can rewrite it.

What EXIF data is

EXIF is the hidden data a camera writes into each photo file.

The name stands for Exchangeable image file format. It is the metadata standard used by digital cameras. Two industry groups, JEITA and CIPA, have managed it together since 2009. The US Library of Congress describes it in its list of digital file formats.

When you press the button, the camera saves the picture. It also saves facts about the picture inside the same file. One of those facts is the date and time.

Where the date in your photo comes from

The date in a photo comes from the clock inside the device that took it.

The camera writes the date and time into a tag called DateTimeOriginal. It reads that time from its own clock. It does not ask anyone outside the device.

So the date is a claim made by the phone. If the clock is right, the date is right. If the clock is wrong, the date is wrong too. And the owner of the phone can set that clock to any day they like.

Think of a builder in Zug who sets his camera to the wrong year by mistake. Every photo he takes that month carries the wrong year. The file has no way to know.

We changed a photo's date in three lines

We ran a small test and moved a photo's date back by more than seven years.

On 21 November 2026 we made a JPEG file. We gave it the date "2026:12:06 09:15:00" in its DateTimeOriginal tag. Then we wrote three lines of Python code with a common image library called Pillow. Those three lines changed the date to "2019:03:01 08:00:00".

We opened the file again. It showed the new date, 1 March 2019. We found nothing in that file to show that the date had been changed. Our test file had only one date tag. A phone photo can store the date in more than one place, so a quick edit may leave the old date behind.

This is not a hack. It is how the format works. The date is plain data inside the file, and plain data can be edited.

How a Swiss court looks at a photo

A Swiss court can accept a photo as evidence, but it decides for itself how much the photo is worth.

The Swiss Civil Procedure Code, Art. 177, lists photos and electronic files as physical records. It says: "Physical records are documents that are suitable to prove legally significant facts, such as papers, drawings, plans, photos, films, audio recordings, electronic files and the like as well as private expert opinions obtained by the parties."

So Lena can bring her photos to court. But Art. 157 of the same code says: "The court forms its opinion based on its free assessment of the evidence taken."

That means the judge weighs each piece of evidence. A date that the phone wrote, and that the owner could have changed, may carry little weight. The landlord can simply say the date is not real. Lena has no outside record to show it is.

What a qualified timestamp adds

A qualified timestamp comes from an outside authority, not from your own device.

Here is how it works on Swiss Trust Layer. You upload your photos into a folder and seal the folder. Every file gets its own fingerprint, a SHA-512 hash. The folder gets one combined fingerprint over all the files.

To get the time, only that fingerprint goes to Swisscom Trust Services. Swisscom is a qualified trust service provider. It returns a timestamp under RFC 3161 for the fingerprint.

The time does not come from Lena's phone. She cannot set it back. And if one byte of a photo changes later, its fingerprint no longer matches.

After sealing, Lena gets a certificate of proof. It is a PDF, signed by Swisscom. It lists the owner, the folder name and version, each file's name and fingerprint, the seal date and a certificate ID. It also has a QR code. Anyone can scan it to open a public verification page, with no account. That page checks that the certificate's signatures are valid and the PDF is unchanged.

If Lena verifies her identity with a passport check, the certificate also shows her verified identity. That step is optional.

The limit, stated plainly

A seal shows when the file existed, not when or where the photo was taken.

The seal proves that this exact file existed at the moment of sealing and has not changed since. It also shows who sealed it. It does not prove the day Lena pressed the button. It does not show where she stood. It does not prove the photo shows the crack correctly, or who must pay for it.

It also does not fix the EXIF date. If the phone clock was wrong, the EXIF date inside the sealed file is still wrong. The seal date is separate, and it comes from Swisscom.

And the court still weighs everything freely under Art. 157. A seal is one more piece of evidence. Its date comes from outside, so the owner cannot move it back.

There is one gap left: the time between taking the photo and sealing it. The longer you wait, the bigger that gap. A photo sealed two years later shows just that it existed two years later.

One step this week

Seal your photos on the same day you take them.

When the gap is a few hours, the seal date and the photo date tell the same story. Next time you move in, hand over a site, or photograph damage, put the photos into one folder that evening and seal it. If you take more photos later, seal a new version of the folder. Each version gets its own certificate. Read how it works for each step, or see what happens when you seal a file.

Seal your first document on Swiss Trust Layer and let the date come from outside your phone.

Protect your work with Swiss Trust Layer AG

Seal your intellectual property with a court-proof e-Seal backed by Swisscom Trust Services.

Book a Free Demo