[MlMt] Mailbox Name Format

Michael Nietzold lists.freron.com at nietzold.com
Wed Feb 1 12:40:35 EST 2023


I assume that you select in "Submailbox for each unique value of" to 
"Date > Day" to get it grouped on daily basis

You get is displayed as:

yyyy-mm-dd
2023-01-23


There are some modifiers for date like:

  `${#date.day}` -> `2023-01-23`
  `${#date.month}` -> `2023-01`
  `${#date.year}` -> `2023`

But I did not find something like ~~`${#date.dd}`~~ or 
~~`${#date.mm.dd.yy}`~~


But you can do it with a regex:

`${#date/((\d{4})-(\d{2})-(\d{2}).*)/$3\/$4\/$2/}`

Whitch result in:
`mm/dd/yyyy`
`01/03/2023`


I hope this helps - maybe there a other formatters for date - but I can 
not find them :/


On 28 Jan 2023, at 5:20, RANDY ABBOTT wrote:

> What is the syntax for creating a custom mailbox name when creating 
> Submailboxes? I want the format mm/dd/yy but I don't know how that 
> translates to the syntax ${#date.xxx}
>
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20230201/f4c4db27/attachment.htm>


More information about the mailmate mailing list