# 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://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/QAdKhXh1OjzGOkxQlQlV/0.png)

**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://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/THXxD3BiQHBfoHs6ij9B/1.png)

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

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/zDwduXubbTyF3wduI4DP/2.png)
