Tag Info

New answers tagged

1

Ok I got the solution. Apparently, the default format of a DateTime field when returned through CAML only contains the date part. When I do it like this, I get the expected results: Query = "<Where>" + "<And>" + "<And>" + "<And>" + ...


0

Try: =[Requested Posting Date]>=[Date of Request] If I'm reading this right, you don't want to allow the Requested Posting Date to fall before the Date of Request. The validation fails only if the formula evaluates to FALSE. With your formula: =[Requested Posting Date]<=[Date of Request] a Requested Posting Date that falls before the Date of Request ...


1

There is no support for anything like this out of the box. But if you're using your own Membership provider with the FBA, then you can implement the functionality in that, by either disallow the user after the specified date or remove a role after the date and use that role for giving access. If you're using some standard Membership provider, then one ...


0

Cause: This happens when the time zone of the server does not match the time zone of the site (or that of the user if they have set a time zone override preference). When you use the Collect Data From User workflow action to collect a "date and time" value and configure it to display as "date only", the value is still stored as a date and time, which ...


0

The internal background properites of date do not allow for the CSR to change the style properties. They are overruled by the internal style of the sharepoint css.


3

Just replace 2057 with 1036 (the LCID of fr-FR) and it should render the date in a French format. The possible values for the third parameter, which control what type of date string is rendered, are listed in the MSDN blog post “Custom Date Formats in SharePoint XSL”.


0

Yes you should get the site's TimeZone first and then convert your DateTime accordingly. function getTimeZoneAndServerDateTime() { var context = SP.ClientContext.get_current(); var web = context.get_web(); var timeZone = web.get_regionalSettings().get_timeZone(); context.load(timeZone); context.executeQueryAsync( function ...


0

Try this one var sysDateTime = new Date("<%= System.DateTime.Now %>"); You need to connect your site through COM and then perform this one. May be this can help you


0

You would simply use the set workflow variable action and use the current date or use the add time to date action and set 0 days/hours/minutes/seconds to Today.



Top 50 recent answers are included