---
title: "IMGDATE"
url: "https://help.formsfly.com/en/article/imgdate"
language: "en"
last_updated: "2026-10-02T14:37:49.341Z"
---

# IMGDATE

Returns the original creation date and time of the given image field's file, as found in the file's EXIF metadata.

* * *

### Syntax

`IMGDATE(imagefield)`

### Notes

If the metadata is not available, the date and time of capture into the image field is returned.

The date/time returned is in the local timezone of the device.

### Example

Can be used in conjunction with the device's GPS location ([FORMAT-GEO](https://help.formsfly.com/en/article/format-geo)) to create a watermark for photos

Formula to generate watermark:

Date: {( IMGDATE({{mediaField}}) )} {( '\\n' )} GPS: {( FORMAT-GEO({{locationField}}, 'DMS') )}

Watermark Text displayed on image:

Date: 2022-03-04T05:31:11+02:00

GPS: 28°44'53"S 29°46'46"E

[![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/11120163486/original/elus0mZDPHwVGKwWNMu-oO34aWDG_P9FYw.png?1727936528)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/11120163486/original/elus0mZDPHwVGKwWNMu-oO34aWDG_P9FYw.png?1727936528)
