Skip to content

Instantly share code, notes, and snippets.

@samuelastech
Created October 21, 2022 13:43
Show Gist options
  • Save samuelastech/3cf743de89e4cae9b8b0f2b86951a9dd to your computer and use it in GitHub Desktop.
Save samuelastech/3cf743de89e4cae9b8b0f2b86951a9dd to your computer and use it in GitHub Desktop.
A very simple script to change the date of CTR document
/* The date you wanna change */
const date = '06/10/22'
const register = document.querySelector('#lb_DtRegistro')
const sent = document.querySelector('#lb_DtEnvio')
const destiny = document.querySelector('#lb_DtDestino')
register.innerText = date
sent.innerText = date
destiny.innerText = date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment