DB Tools Format Datetime String VI
- Updated2023-02-21
- 2 minute(s) read
DB Tools Format Datetime String VI
Owning Palette: Utility VIs
Requires: Database Connectivity Toolkit
Returns a string containing the formatted date and time, and identifies the string as a date/time string so other VIs can interpret this string. Wire data to the input of this VI to determine the polymorphic instance to use or manually select the instance.
DB Tools Format Datetime String (Time Stamp)

![]() |
time stamp specifies the time stamp that you want to convert to a date/time string. The default is an empty time stamp, which returns the current date and time. |
![]() |
date/time string returns the formatted date/time string. |
DB Tools Format Datetime String (Seconds)

![]() |
seconds specifies the seconds to convert to a date/time string. The value of this input is the time-zone-independent number of seconds that have elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time. The default value is 0, which returns the current date and time. |
![]() |
date/time string returns the formatted date/time string. |
Examples
Refer to the following VIs for examples of using the DB Tools Format Datetime String VI:
- Parameterized VI: labview\examples\database
- Sixtypes Insert VI: labview\examples\database


