You are here: Symbol Reference > Stimulsoft.Base.Json Namespace > JsonConvert Class > JsonConvert Methods > ToString Method > ToString Method (DateTime, DateFormatHandling, DateTimeZoneHandling)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
JsonConvert.ToString Method (DateTime, DateFormatHandling, DateTimeZoneHandling)

Converts the DateTime to its JSON string representation using the DateFormatHandling specified.

Syntax
C++
C#
Visual Basic
public: string ToString( DateTime value, DateFormatHandling format, DateTimeZoneHandling timeZoneHandling );
Parameters
Parameters 
Description 
value 
The value to convert. 
format 
The format the date will be converted to. 
timeZoneHandling 
The time zone handling when the date is converted to a string. 
Returns

A JSON string representation of the DateTime.

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.