Martyn Patterson 3 Posted July 11, 2019 Share Posted July 11, 2019 Pulling a document property that is a date data type I want to pull the day of the week. Here is my current script. from Spotfire.Dxp.Data import DataType, DataValue from System import DateTime beginDate = Document.Properties["dteStartDate"] print beginDate.weekdayI get the following error:AttributeError: 'DateTime' object has no attribute 'weekday' What do I need to do here Link to comment Share on other sites More sharing options...
Donald Johnson Posted July 18, 2019 Share Posted July 18, 2019 What TIBCO Product is this referring to Link to comment Share on other sites More sharing options...
Martyn Patterson 3 Posted July 18, 2019 Author Share Posted July 18, 2019 I'm sorry, this is for Spotfire Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now