x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to set to True if data was entered 'this week'.

Hi, I would like to be able to set a boolean to true or false whether a data entry was set this week or not.

  • I can get the current date.

  • I can get the date of the data entry.

  • I can get the day of the week which any data was entered.

  • I can get the today's day of the week (real time).

How would I use any of this information to be able set a boolean to true if the data entry happened this week (in real time)?

Any help would be appreciated.

Product Version: UE 4.17
Tags:
more ▼

asked Jan 13 '18 at 01:34 AM in Blueprint Scripting

avatar image

yuyake79
47 2 1 4

avatar image SolarVelocity Jan 13 '18 at 05:07 PM

Its not clear if the "this week" you are looking for is the last 7 days or since the last start of the week day (like Sunday)?

avatar image yuyake79 Jan 14 '18 at 02:33 PM

Hi, by "this week" I meant between the start of the current week (Sunday) and today. Not the last 7 days because the last 7 days can include part of this week and part of last week.

avatar image yuyake79 Jan 14 '18 at 02:36 PM

I think I managed to figure out what I was after. Please look below and let me know if this will always work. I think it does work.alt text

2018-01-15.png (1.7 MB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question