yDay(aDate)

Converts timestamp to day of the year.

yDayyDay


Syntax

o_yDay(aDate)
aDate: scalar Timestamp
return: Int

Usage

Determines the day of the year given specified timestamp.

Location

menu: veeos ==> Date/Time ==> yDay

library: veeosLib

Example

o_yDay(now()) returns the current day of the year.

Notes

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

Reference

Supported On

VEE 7.0+, All platforms.

See Also

time, yWeek, timeZone, utcNow, unixNow, ywTodate


© 2015-2025. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 03 February 2023 13:04.