---
title: "AnalogClock (Multicolor)"
canonical: "https://docs.cuesystem.com/space/CVCGC/453902365/AnalogClock%20(Multicolor)"
format: markdown
---
> Macro (toc)

---

# Description

This object displays current local date and time of a CUEunit. Date, seconds hand and hour marks can be hidden. Up to four object sizes can be selected.

![image](media://6f14a4a4-b9f6-4fec-9727-fe240ddb5b05)


# Properties

> Macro (excerpt-include)

 **In addition, this multicolor object uses the following properties:**

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Appearance |
| ShowHourMarks | Boolean | True, False | True | Specifies whether the hour marks is shown. |
| color |
| Date Color | Long | Any | _COLOR_WHITE | Color of date. |
| Clock Color | Long | Any | _COLOR_WHITE | Color of clock. |
| Hands Color | Long | Any | _COLOR_WHITE | Color of hands. |

# Functions

> Macro (excerpt-include)

 


**In addition, this multicolor object uses the following functions:**

## SetShowHourMarks

This function sets whether hour marks is visible or not.

#### Syntax

```visualbasic
Function SetShowHourMarks(newshowhourmarks As Boolean) As Boolean
```

## GetShowHourMark

This function returns whether hour marks is visible or not.

#### Syntax

```visualbasic
Function GetShowHourMarks () As Boolean
```

## SetDateColor

This function sets DateColor to newdatecolor. Function returns True.

#### Syntax

```visualbasic
Function SetDateColor(newdatecolor As Boolean) As Boolean
```

## GetDateColor

This function returns current DateColor.

#### Syntax

```visualbasic
Function GetDateColor () As Long
```

## SetClockColor

This function sets ClockColor to newclockcolor. Function returns True.

#### Syntax

```visualbasic
Function SetClockColor(newclockcolor As Long) As Boolean
```

## GetClockColor

This function returns current ClockColor.

#### Syntax

```visualbasic
Function GetClockColor() As long
```

## SetHandsColor

This function sets HandsColor to newhandscolor. Function returns True.

#### Syntax

```visualbasic
Function SetHandsColor(newhandscolor As Long) As Boolean
```

## GetHandsColor

This function returns current HandsColor.

#### Syntax

```visualbasic
Function GetHandsColor() As long
```