Requirement: CSVI VirtueMart 2.3.18 or higher
To customize the filename CSVI VirtueMart creates on export you can specify the following tags to have them replaced on export:
Tag | Meaning | Example |
[Y] | A full numeric representation of a year, 4 digits | 1999 or 2003 |
[y] | A two digit representation of a year | 99 or 03 |
[M] | A short textual representation of a month, three letters | Jan through Dec |
[m] | Numeric representation of a month, with leading zeros | 01 through 12 |
[F] | A full textual representation of a month, such as January or March | January through December |
[n] | Numeric representation of a month, without leading zeros | 1 through 12 |
[d] | Day of the month, 2 digits with leading zeros | 01 to 31 |
[D] | A textual representation of a day, three letters | Mon through Sun |
[j] | Day of the month without leading zeros | 1 to 31 |
[l] | A full textual representation of the day of the week | Sunday through Saturday |
[g] | 12-hour format of an hour without leading zeros | 1 through 12 |
[G] | 24-hour format of an hour without leading zeros | 0 through 23 |
[h] | 12-hour format of an hour with leading zeros | 01 through 12 |
[H] | 24-hour format of an hour with leading zeros | 00 through 23 |
[i] | Minutes with leading zeros | 00 to 59 |
[s] | Seconds with leading zeros | 00 to 59 |
Source: http://www.php.net/manual/en/function.date.php
Specifying a filename like:
product_export_[Y]_[m]_[d].csv will create a file called product_export_2010_11_06.csv.