---
title: roNetworkTimeEvent
slug: develop/ronetworktimeevent
docTags: 
createdAt: 2025-03-11T07:07:17.200Z
---

This event object is generated by the *roSystemTime* object.  

## ifUserData

### SetUserData(user\_data As Object)

Sets the user data that will be returned by `GetUserData()`.

### GetUserData() As Object

Returns the user data that has previously been set via `SetUserData()`. It will return `Invalid` if no data has been set.

## ifNetworkTimeEvent

### WasSuccessful() As Boolean

Returns `True` if the last attempt to set the clock via the network (i.e. NTP or HTTP) was successful.

### GetFailureReason() As String

Returns a description of the error if the last attempt to set the clock via the network failed.
