/** * <summary> * Returns the Unix timestamp for current UTC time, if known. * <para> * </para> * <para> * </para> * </summary> * <returns> * an integer corresponding to the Unix timestamp for current UTC time, if known * </returns> * <para> * On failure, throws an exception or returns <c>YDataLogger.TIMEUTC_INVALID</c>. * </para> */ public long get_timeUTC() { long res; if (_func == null) { throw new YoctoApiProxyException("No DataLogger connected"); } res = _func.get_timeUTC(); if (res == YAPI.INVALID_INT) { res = _TimeUTC_INVALID; } return(res); }