Getpivot data Excel 2016 Date not recognised - date

Hi I've got a Pivot table for various products in a company i work for. We have been moved to 2016 Excel and my New Pivot table is displaying the date after I formatted it in Access.
But, My Getpivot data does not recognise the date anymore. Any suggestions?
3 excel files also running in Excel 2016 are okay because they have not been changed but this new workbook now has stopped working.
Example here:
=IFERROR(GETPIVOTDATA("QUANTITY",'Qry from PST db'!$A$2,"Day/Night",$T$14,"SUPPLIER",S15,"ShiftDatet","17/11/2015"),"N/A")
The date of 17/11/2015 should point to a cell in the workbook but then the query now fails but is okay in other workbooks.
Same formula in different book that works:
=IFERROR(GETPIVOTDATA("QUANTITY",'Qry from PST db'!$A$2,"Day/Night",$T$14,"SUPPLIER",S15,"ShiftDatet",$E$13),"n/a")

Related

I am using OpenXML in C# for creating xlsx file but date comes as Jan 1900

In C# I am using OpenXML document format spreadsheet to create xlsx file. but excel gets created with date 'Jan 1900'. I am applying stylesheet document to spreadsheet document. Please help to get exact date.
I expects date should be 01/01/2019 which comes from datatable but actual output is Jan 1900
I think one of the solutions is to use the TEXT function.
Let's say you have a variable contains the date named dDate.
Then, put this in the cell where you want the value to be displayed:
=text(dDate,"mm/dd/yyyy")
Maybe you need to use C# grammar to do the concatenation of the string and the variable.

Find and replace date formats in markdown text

I'm not sure if this is possible and have tried unsuccessfully to find out online.
I have a journal in Ulysses (a markdown editor for Mac/iOS). I create a new sheet (markdown document) for each entry, and the first line is the date in this format:
24/2/2019, 09:49
I have nearly 500 entries in this way. I'm interested in moving my journal to Day One app, and in order to import in this way, I need to change the date format for every entry to:
Date: June 24, 2016 at 10:59:06 AM MDT
Is there a way to do this somehow in an automated fashion? I don't think I could bear to go through around 500 entries and manually rewrite the date.

Crystal reports date functions and formula

I'm not even sure how to start writing this logic. I have help desk issues in a SQL database with a create date and a resolved date columns. I'm trying to display only the records in which their create date is 14 days or less than the resolved date. Right now the report prompts for the start date and end date. Now I want to modify it. How do I write this logic and in which section of the formula builder? I'm using CR 2011 Standard.

Date format issue while uploading and saving the excel sheet into db using coldfusion cfspreadsheet

I uploaded and parsed through an excel sheet using cfspreadsheet and inserted all the values into database and the problem is that [my excel sheet has a date range from 1/2/2016 to 29/02/2016,from 1/2/16 to 12/2/2016 it is right aligned in excelsheet and remaining is left aligned...]. The value is being inserted into the db but I cannot able to fetch the values from 1-12 using where condition in db. I tried manually changing the date format in my excel sheet..what happened is
..02 January 2016
02 February 2016
.
.
02 December 2016
13/02/2016
14/02/2016
.
.
up to 02/12/2016[mm/dd/yy] it is displaying dd as month notation and from 13/02/2016[dd/mm/yyy] it is displaying properly, I tried with all formatting options, and I need to implement it in code. I think while downloading the data itself the date is not getting formatted properly, I tried with different excel sheet but of no use...and I tried converting these dates into specific format using coldfusion code and but it doesn't works for me..
<cfset sheet = spreadSheetRead("D:\file123\final1231.xls")>
<cfset SpreadSheetFormatColumn(sheet,{dataFormat="yyyy-mm-dd"},3)>
<cfset SpreadSheetWrite(sheet,"D:\file123\final1232",true)>
can any one help me in this?
What looks to me is that locale is set to 'English (United States)' in your excel and that is why for first 12 rows your excel is treating values as valid date but starting 13th row the data is invalid and hence excel is treating it as string (hence left aligned). Try manually changing excel locale to 'English (India)' or similar and you will see data aligned properly.
Also Cold Fusion internal date-time format is American (mm/dd/yyyy) and by default will interpret date and time into American format. I think while inserting data you can create date with something like below to make sure what data gets inserted:
#createDate(listLast(dt,"/"),listFirst(listRest(dt,"/"),"/"),listFirst(dt,"/"))#
Here dt is the data column that you want to insert. You may need to put some checks, based on the data, to avoid any run time errors.

Issues with importing data in date format from excel to oracle 10g?

hello I am trying to import date formatted data from excel to oarcle 10g databse using SQL developer, earlier I had no idea, but after revising various questions in stackoverflow I came to know that it can be worked using SQL developer,Here is the process, I tried to import using right click on the table in sql developer selecting the column names followed by DATE format to be mentioned for the columns that have date, but I am not succeeded. Atlast I verified whether all the columns have success in their status, I have success for all the columns but after finish the error is "The date should be between 1 and last day of the month, Can anyone let me now how to fix it please ?
sometimes it caused by the format from your excel file..make sure that your excel file has a right Date format. Like dd-mm-rr
You can try navicat software to import excel file into oracle