I get my own variable created for one set of date formats.
Well... you get four fields for the different timestamp components.
The grok filter supports specifying multiple expressions that will be evaluated one by one until there's a match (example below). Depending on the exact circumstances that might be your best option.