cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Generation Date

DEB
Super Contributor

Hello,

 

I currently generates a website with MEGA, and I'd like to display the date the site was generate.

Except that I can not find a field or a carateristique where you can see the date of the last generation.

Found that of the last change but not the last generation.

 

Does someone have a solution?

 

4 Replies

ki6i
Trusted Contributor

Hi again DEB,

 

When you generate the website all dynamic content is transformed to static. Therefore if you generate the site today the [Variable=Date/] will be set to today. But if you go and look at the generated website tomorow the date will be still today, because that was the date that you generated the website.

 

The last generation date is not stored in the website object itself  - you won't be able find that there. 

jyherpet
Retired

Hello Deb,

 

what Ki6i wrote is right, this variable ([Variable=Date/]) only display the generation date and not the current date.

Best regards,
Jean-Yves

DEB
Super Contributor

Does this Variable only take the generation date and not the current day date?

ki6i
Trusted Contributor

Hi Deb,

 

You can use [Variable=Date/]. That is taking the current date of generation 🙂