Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > XML

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-08-2009, 10:00 AM
foz333 foz333 is offline
Registered User
 
Join Date: Oct 2009
Posts: 1
Confusion with xpath date comparisons?

I’m getting confused with xpath date comparisons, I want to return all values where a @Publication_x0020_Date occurs this month, the below comparison returns all publications only on today’s date rather than this month. I need the date to remain dynamic as I would prefer this to automatically update on a monthly basis.

Code:
[number(translate(substring-before(@Publication_x0020_Date,'T'),'-','')) = number(translate(substring-before($Today,'T'),'-',''))]
I’m using Sharepoint Designer, this is a filter criteria for a standard aspx form.

Any help appreciated.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help in Xpath query for comparing a date with todays date rachael XML 1 01-27-2009 09:52 AM
JAVA Date Utility Tutorial hemanthjava Java 0 07-05-2006 11:08 PM
date comparisons in SQL Blair VB Classic 19 11-13-2000 03:12 PM
Date Comparisons in SQL Vicky Diamond VB Classic 0 10-22-2000 05:06 AM
SQL Date comparisons in VB Blair VB Classic 1 10-17-2000 05:47 PM


All times are GMT -4. The time now is 08:26 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.