# time(aDate,option)

Converts timestamp to time of the day.

### Syntax

o_time(aDate, option)
  aDate: scalar Timestamp
  option: scalar Int - 0=12hr, 1=24hr, 2=seconds
  return: Text

### Usage

Separates out the time alone from a given timestamp.

### Location

menu: veeos ==> misc ==> time

library: veeosLib

### Example

o_time(now(),0) returns the current time of day in 12 hour format

### Notes

VEE has built-in functions for day, month, year, but not time. This helps complete the set of Time/Date functions.

### Reference

### Supported On

VEE 7.0+, All platforms.

### See Also

week

© 2015-2021. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 09 August 2021 18:28.