> For the complete documentation index, see [llms.txt](https://docs.flightwatching.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flightwatching.com/user-manual/designer-user-manual/edit-ifts/ift-v2/fw.setcomputeddate.md).

# FW\.setComputedDate

FW\.setComputedDate(date|moment|ISO8601)

sets the computed date. If some samples were previously created in the event, their date remains unchanged unless they have `timelabel=AT_EVENT`

`date` has to be a moment.utc() format to ensure local time is not in the middle.

`setBeforeTransmissionDate` is a boolean. If `false`, that's it. If `true`, then if the `date` is after the transmissionDate of the event, will shift the date for 1 day (prevents the round midnight effects)

```javascript
FW.setComputedDate(moment.utc(X, 'DDMMYYHHmmss'), false);
```
