The email notification sent out by the SharePoint Designer 2007 workflows includes seconds for the date/time field.
For example "This is a confirmation that you are registered to attend a DEMO at 10:00:00 AM".
How can I remove the seconds field from the email message.
The SharePoint List with date/time field displays fine (without the seconds)
Thanks
One option - you could create a calculated column to show a formatted version of your date and include that column in your email.
For example if you've got a field called "My Date" then you can create a calculated column called "My Formatted Date" (or whatever makes sense) using the following formula.
=TEXT([My Date]","mmm yyyy")
will display the date in a format like Jul 2011
=TEXT([My Date]","dd/mm/yyyy")
Will show 21/7/2011.
Related
I was assigned a project at work to develop a Macro that would automatically take financial data from an Excel table and generate credit notes and invoices for customers. I have the Macro developed already it is working the way it should, but the issue I am running into is with the language that is used for each invoice.
When generating credit notes, the Macro is taking the the invoices month of issue from the financial data table and displaying then as them as the months where credit was issued to the customer. i.e., a customer is requesting a partial refund on transactions from a period of time (say Feb.2019 - Apr. 2019) it will be displayed as:
February 2019 (02-19) -20.20
March 2019 (03-19) -32.03
April 2019 (04-19) -24.21
The problem is that my primary working language is English, but my company works in several European marketplaces and the invoices and credit notes have to be displayed in the language of the market where the customer is located.
So if an Italian customer requests an invoice, the months displayed must be listed as
Febbraio 2019 (02-19) -20.20
Marzo 2019 (03-19) -32.03
Aprile 2019 (04-19) -24.21
However, when running the Macro it still displays the issuing months in English when it should be displayed in the language of the market. The entirety of all invoices and credit notes created with this Macro are generated in the correct language, but since the Macro is taking the issuing months from the data table it automatically displays them in English.
Is the any way to ensure that it displays the issuing months in the required language?
I already know that the language settings can be changed for the entire workbook, but I still run into the same problem as I would have to manually change the issuing language each time I run the Macro to ensure the issuing month is correct?
To format a date in another regional setting you need to change the number format of the date for the desired range of cells. Eg. format the cell pressing Ctrl+1 to get the following dialog, and choose the regional setting ("Gebietsschema") for the country you desire.
Image 1: Change the regional setting for the date (sorry for the German screenshot).
Alternatively use the Range.NumberFormat property to format the cell with VBA:
.NumberFormat = "[$-it-IT]d mmmm yyyy;#"
Note that these both work if your dates are real date values but don't work if your dates are text. If they are text you need to change them into real dates.
I have a status field in an InfoPath form and I need to log the dates when it changes. The form populates a SharePoint list.
For example,
- 1. [Blank/No Status]
- 2. Open
- 3. Pending
- 4. Closed
I need to know when the status is changed from [blank] to Open, then when it changes to Pending, etc. and retain each date for future calculations.
I can use a formula in a new column in SharePoint to show the date the status is set, but I can't figure out how to make the date static when it changes. Using InfoPath is proving troublesome too as it won't allow IF statements.
SharePoint version is 2013.
One solution is to create a workflow. On each edit of the item it checks to see if the status column has changed, and if so, copies the current date to the appropriate "date changed" column.
Do you want to just store the last date the item went to "Pending" status, or only the first time it went to "Pending" status. (both can be done with the workflow)
Additional info: I added an "updated date" field and an "original date" field to capture the date of the first status (original) and the change (updated).
I found that I was putting the rule on the fields that were meant to stay static and change, respectively. When I put the rules on the field that was triggering the change ("Status"), I added the condition that the intended static fields must be blank in order to populate and left that condition off the nearly identical fields that were meant to change.
Now when I select "Open", both the Original Date and Updated Date fields pick up the date "now()", when I select "Pending", the pending date (static for my purposes) fills, and when I go back to "Open", the Original date field stays the same and the Updated Date field updates to the new "Now()".
As the title says i have a infopath form where i want to run a extra action on submit if the time is greater than 18:00 but it can be any date.
I tried using 2 separate fields but that upset SharePoint (the data goes into a SharePoint calender hence not using 2 separate fields)
Thanks for your help
Lewis
I have a calendar list called "learning Calendar" and it has the following fields.
Location,Start Time,Start Time,Employee Name,Manage Name,Program Name,Status,HyperLink.
I am able to add the data into it sucessfully.
But i would like to save current URl into HyperLink field in the list dynamically. How can i achive this? Here is the saved Date
Location - AAA
Start Time -2/14/2012 7:00:00 PM
Start Time -2/14/2012 8:00:00 PM
Employee Name-BBBB
Manage Name -CCCC
Program Name -DDDD
Status -Approved
HyperLink - ? how do i save dynamically URl here ? (Statically i am able to add)
Please Help.
I have an old site that I am trying to convert to sharepoint. I have a database that stores the original upload date of the document. I need to get that date into a sharepoint column called "Original Upload". The "Original Upload" column is in a date/time format and only displays the date like "10/5/2009". I created a Powershell script to grab the date from the database and use it to change the "Original Upload" date in sharepoint. The problem is I keep getting a powershell error of "invalid date/time".
Powershell formats the date from the database as "Friday, May 06, 2011 7:52:12 AM". Sharepoint does not accept this date format. Sharepoint also does not accept strings. I was able to change the format of the powershell date to "5/6/2011" (the format on the sharepoint site), but it is converted from an object to a string, which doesn't work.
How do I convert a powershell date to "5/6/2011" and keep it as an object so Sharepoint will accept it?
Thanks
Sharepoint accepts iso date format which have format:
yyyy-MM-ddThh:mm:ssZ
in your example:
2011-05-06T07:52:12Z