# Get text from a XML file according to server's time

**URL:** <https://forum.kirupa.com/t/get-text-from-a-xml-file-according-to-servers-time/229799>\
**Category:** programming\
**Created:** [June 20, 2007, 9:40am UTC](https://forum.kirupa.com/t/get-text-from-a-xml-file-according-to-servers-time/229799 "2007-06-20T09:40:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamna](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jamna](https://forum.kirupa.com/u/jamna)\
**Post date:** [June 20, 2007, 9:40am UTC](https://forum.kirupa.com/t/get-text-from-a-xml-file-according-to-servers-time/229799/1 "2007-06-20T09:40:54Z")

</div>

Hello All,  
I made a site in ASP now i want to make a “trivia” section at my home page in which i want to get my text from a XML file. This XML file may be filled by 1000 or less trivia facts.  
The main thing is that i want only one “trivia fact” from this XML file with in 24 hours mean the viewers of my site can see only one “trivia fact” in a day thats why i also need the server’s time according to this my records will be change automatically in next day or next 24 hours.  
Is it possible with any technique ?  
If yes then please tell me how if anybody can.
