How do I do this using boost?

The format I want is : %Y-%m-%d %H:%M:%S%F%Q

I've messed around with this now for most of the afternoon and I can seem to get the %Q to be printed. The closest I've gotton is to use a hard coded time zone but I dont want this, I want the code to figure out the timezone for me.

Thank you,
Isaac