Copying a field content to another field in the same library using JS

69 views
Skip to first unread message

Aly IGERY

unread,
Aug 15, 2025, 1:11:58 PMAug 15
to mementodatabase


In a library, I have two date fields, <Begin> and <End>, in the format [15.08.2025, 19:00:05]. Does anyone know a JS code that transfers the same content from <Begin> to <End>?

Thanks in advance...

Er Mo

unread,
Aug 15, 2025, 2:51:45 PMAug 15
to mementodatabase
Skript

var dat = entry().field("Begin").getTime()
entry().set("End",dat)

Ernst

Aly IGERY

unread,
Aug 15, 2025, 4:29:58 PMAug 15
to mementodatabase
👍👍👍
Reply all
Reply to author
Forward
0 new messages