Difference between revisions of "Format Date (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "<languages></languages> <translate> <!--T:1--> {{Infobox Logix Node | Name = Format Date | Image =File: FormatDateTimeAsDateNode.png | noframe | 128px | 'Format Date' LogiX...")
 
m
Line 11: Line 11:
  
 
<!--T:2-->
 
<!--T:2-->
The '''Format Date''' node takes a date input and formats it as a string.
+
The '''Format Date''' node takes a date and time input and formats the date as a string.
  
 
== Usage == <!--T:3-->
 
== Usage == <!--T:3-->

Revision as of 20:03, 11 September 2022

Other languages:
English
Format Date
'Format Date' LogiX node
Inputs
  DateTime Date
  IFormatProvider FormatProvider
Outputs
  String *

The Format Date node takes a date and time input and formats the date as a string.

Usage

This node takes the DateTime and IFormatProvider types as inputs, and it outputs a string.

The output is the DateTime input represented as a string. The format defaults to an Invariant Culture, and is recommended to not be changed unless the output is meant to be seen to other users and you are not parsing the output in any way.

Examples

In the following image, the current date from UtcNow is being converted to a string.

Logix Example FormatDate.png

Node Menu

String / Quick Format
Back Format Date Format Time Format Timespan To Time String