# ywToDate(year,week)

Converts year and week to timestamps at start and end of the week.

### Syntax

o_ywToDate(year,week)
  year: Int
  week: Int
  return: array Timestamp with the start and end time for the specified week.

### Usage

Use this when you have use for the start and stop timestamps for a given week.

### Location

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

library: veeosLib

### Example

`o_ywToDate(2024,14)` returns the timestamps of the start and stop of the 14th week of 2024.

### Notes

VEE has built-in functions for day, month, year, but not time. This helps complete the set of Time/Date functions. Week in this case is defined by ISO-8601. Derived from original work posted to VRF by Delmar Fryd in November 2012.

### Reference

- ISO-8601 is an international standard for time and date representation.

### Supported On

VEE 7.0+, All platforms.

### See Also

time, yDay, yWeek, timeZone, utcNow, unixNow

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