# 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://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/0%20\(193\).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://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/1%20\(193\).png)

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

![](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/2%20\(193\).png)
