| Item | Quantity | Price |
|---|
| Your cart is empty. Check out our collection of 3d models! |
Prices in:
Clear Cart
Home » Forums » Maya Boards » MEL » how do I get a file timestamp? Topic 95 of 7500
I found a way, if anyone needs. clunky but works.
string $str = `system ("dir " + $filepath)`;
string $date = `match "../../...." $str`;
string $time = `match "..:.. [AP]M" $str`; //$time = "11:15 AM";
you can then reformat date and time at your leisure using string functions....
| Item | Quantity | Price |
|---|
| Total | $0.00 (USD) | ||
| Your cart is empty. Check out our collection of 3d models! | |||
Prices in:
Clear Cart
| Name | Downloads |
|---|---|
TrueGlass |
845,804 |
detachSeparate.mel |
837,126 |
The Andy Rig |
617,611 |
Sergio |
467,141 |
LWOImpR4-R5_043 |
431,545 |
Tiny |
339,479 |
Smedge .6 |
208,192 |
Ocean Shader |
183,733 |
silver shader |
179,832 |
At The Sea |
163,197 |
| Name | Contributions | Posts |
|---|---|---|
| humster3d | 2143 | 2 |
| squir | 1298 | 0 |
| Pupuhol | 967 | 0 |
| KanhtArt | 857 | 0 |
| GuamWork | 854 | 0 |
| admin | 778 | 21231 |
| rose studio | 655 | 0 |
| stefano tartarotti | 616 | 0 |
| VKModels | 444 | 1 |
| fileadmin | 424 | 0 |
Is it possible to get a file's timestamp from within mel in windows?
I'm using fileList to return lists of files, but can't find anything in the maya doc to get a timestamp.