Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field Formatting #142

Open
jonlegras opened this issue Apr 19, 2023 · 1 comment
Open

Field Formatting #142

jonlegras opened this issue Apr 19, 2023 · 1 comment
Labels
question Further information is requested

Comments

@jonlegras
Copy link

jonlegras commented Apr 19, 2023

I don't know if it's because I haven't found it, or if the feature is missing...
I am creating a document and adding a table (to the footer). In the table I want page number and date/time.
This is fine, I have used fields for Page and Date/Time but I can't see how to format the date time.

The date appears as m/d/yyyy (USA format), but I'd like to apply custom formats, which I can do in the actual word document.

Is it possible to do this using OfficeIMO / OpenXML?

@PrzemyslawKlys
Copy link
Member

I am not sure if this will help:

But I would guess you need to try and apply TIME \@ "HH:mm:ss" or similar

I've not spent a lot of time with fields after it was rebuilt.

@PrzemyslawKlys PrzemyslawKlys added the question Further information is requested label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants