Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

DB Tools Format Datetime String VI

LabVIEW 2013 Database Connectivity Toolkit Help

Edition Date: June 2013

Part Number: 370016F-01

»View Product Info
Download Help (Windows Only)

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.

Examples

Use the pull-down menu to select an instance of this VI.

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

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit