# Easiest problem you will ever see;)

**URL:** https://forum.kirupa.com/t/easiest-problem-you-will-ever-see/242393
**Category:** flash
**Created:** [October 25, 2007, 2:12pm UTC](https://forum.kirupa.com/t/easiest-problem-you-will-ever-see/242393 "2007-10-25T14:12:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![antigirl](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@antigirl](https://forum.kirupa.com/u/antigirl)
#### Post date: [October 25, 2007, 2:12pm UTC](https://forum.kirupa.com/t/easiest-problem-you-will-ever-see/242393/1 "2007-10-25T14:12:41Z")

</div>

How do i calculate a week ? or even use universal week numbers [i.e Jan1st - Jan7th = 1]

I have some xml data with DATES, i would like to display this data for a week, so im finding this impossible so if i had some algorithm i could store universal week in the data and sort it using that… which ever is easiest ! :hangover:
