How can I make this Parameters logic?

dynamo
#1

Some Elements have Made time Parameter. Also have that make who.

Ex) User_Time_Design : 2018-10-22 13:08:50
Ex) User_Name_Design : AA_David Lim

I want make a logic to make “MAKE_BY : 2018-10-22 David Lim” This case!

My Qustion is …

  1. I want 2018-10-12 after make elements
  2. How can I mixed that two Strings
  3. I don’t want Minute and Second…Just want XXXX-YY-ZZ Name
  4. User Name had More Another Persons. How can I search Mine and mix that ?
    Ex) BB_David LIM, CC_David LIM…ZZ_David LIM
0 Likes

#2

Hello.

Please read How to get help on the Dynamo forums on how to ask properly for help on this forum, more people will be willing to help you. I understand English may not be your first language but your title comes off as entitled and may turn people off from responding.

Here is the basics of what you asked for:

0 Likes

#3

Thank you For your Solutions!

I Ask U One More… How Can I choose 2018-10-12 After Items?

I want, Choose 2018-10-12 After Items…

0 Likes

#4

Sorry, I do not understand what you mean. Can you try typing it out in your native language in Google Translate and posting the translation?

0 Likes

#5

I want choice, After October 12, 2018 Items :slight_smile:

0 Likes

#6


Code block:

t0 = DSCore.DateTime.Format(dateTimeAfter, "yyyyMMdd");
t1 = String.Remove(inDT, 0, 10);
t2 = String.Remove(t1, 11);
t3 = DSCore.DateTime.FromString(t2);
t4 = DSCore.DateTime.Format(t3, "yyyyMMdd");
String.ToNumber(t0)<String.ToNumber(t4);
0 Likes

#7

Wow!

Thank you So much !

Have a nice day :slight_smile:

0 Likes

#8

I can’t looking for Datetime.format nod.

nod name is ‘Detetime.Format’ right ?

0 Likes

#9

Yes, it is DateTime.Format . It should be a standard node. I am using Dynamo 2.0, haven’t checked earlier versions.

0 Likes

#10

i Installed 2.0 version and… missing nod; lol

all nod is gone;

0 Likes

#11

Red warning ;

0 Likes

#12

If you are using Dynamo 1.3 or earlier, change the [ and the ] to { and } respectively.

0 Likes

#13

wow, U awesome ! Thank you :slight_smile:

0 Likes