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

Format into string have Z in format string for timestamp formatter #16

Open
MaximeRen opened this issue Nov 14, 2024 · 1 comment
Open

Comments

@MaximeRen
Copy link

in the VI StringFormatter.lvclass:formatTimeStamp.vi, there is a typo error in the format inot string function. An additionnal Z is added into the format constant:

image

Thanks for the tools.

@MaximeRen MaximeRen changed the title Format into string Error in timestamp formatter Format into string have Z in format string for timestamp formatter Nov 14, 2024
@francois-normandin
Copy link
Member

Hi @MaximeRen ,

This is a time zone designator and represents UTC. It's been added to inform that the date conforms to ISO8601.

https://en.m.wikipedia.org/wiki/ISO_8601

You can use the Epoch DateTime library to manipulate it, or you might also want to create a custom class derived from StringFormatter and override this VI to support your own format if this implementation does not fit your application's requirement directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants