Created
July 26, 2017 13:19
-
-
Save neilbradley/3ac2b22a8fd8baa3c2475a7fe71f5d88 to your computer and use it in GitHub Desktop.
Set a Custom Config date in Magento
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set a Last Run date | |
Mage::getConfig()->saveConfig('custom_module/order_export/last_run', date('Y-m-d H:i:s'), 'default', 0); | |
Get this date back | |
Mage::getStoreConfig('custom_module/order_export/last_run'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment