# SecondsToChar (String)

| **Name**    | ***SecondsToChar***                                                                             |
| ----------- | ----------------------------------------------------------------------------------------------- |
| Syntax      | SecondsToChar (Integer secondsToday)                                                            |
| Purpose     | To compute time of day for the specified integer value representing seconds.                    |
| Description | Computes time of day for seconds Today parameter and returns a string representing time of day. |
| Return Type | String                                                                                          |
| Parameter   | secondsToday \[System.Int32]                                                                    |

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Fp4qkH0TSkSJV6AGY218Y%2F0.png?alt=media)

**Example**

In this example, we will pass an integer value, representing seconds, to the function transformation object using a *Variables* object.

Where,

*secondsToday* = 123456789

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2F7CrP8MuKLNWKbYAkEUau%2F1.png?alt=media)

In the output window, you can see that the provided value has been converted into a string value, representing the computed time.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FstwpMTJ16Iezj0zRoIF7%2F2.png?alt=media)
