Author Topic: Code Generation Template  (Read 2956 times)

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
Code Generation Template
« on: December 31, 2012, 02:45:43 am »
Hi,

It's very simple question: how can I get current date in Code Generation Template? I hope some macro exists, but I did not find it :(.

Thanks.

smither

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Code Generation Template
« Reply #1 on: December 31, 2012, 09:07:24 am »
Try %eaDateTime%
 The current time with format: DD-MMM-YYYY HH:MM:SS AM/PM.

 Works in v10.  Either didn't exist or was undocumented in previous releases.  Use the %LEFT function macro to strip just the date off the string.