Skip to content

Instantly share code, notes, and snippets.

@ScarletPonytail
Last active August 9, 2018 15:37
Show Gist options
  • Save ScarletPonytail/3d32a38ac4be9b52100525ccc1ccda3b to your computer and use it in GitHub Desktop.
Save ScarletPonytail/3d32a38ac4be9b52100525ccc1ccda3b to your computer and use it in GitHub Desktop.
Google Sheets - Last edited date
function onEdit(e) {
if (!e.value) return;
e.source.getActiveSheet()
.getRange('K1')
.setValue(new Date());
}
Date format: dd/MM/yyyy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment