1
Answer

filtering entries based on date

rizwan hudda

rizwan hudda

16y
2.3k
1
I am having a database containing entries which have a due_date field,which is a DATE type.I want to filter the entries or record s based upon the date criteria,in my case i want to extract the entries whose due_date criteria is more than 10 days before the current date...how to do this....
suggest some solution
Answers (1)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram