• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how can ı take the time format like that ?

Explorer ,
Sep 19, 2019 Sep 19, 2019

Copy link to clipboard

Copied

I must take time format like that  : YYYYMMDDHH24MM SS

 

How can ı do it at coldfusıon code? Help please 😞

Views

648

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 19, 2019 Sep 19, 2019

Copy link to clipboard

Copied

@nurcanbarlas you can use this code 

dateTimeFormat (now(), "YYYYMMDD HHNN SS") 

Please get back to us if you face any other issues.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 19, 2019 Sep 19, 2019

Copy link to clipboard

Copied

Without just one space: datetimeFormat(now(), "YYYYMMDDHHNN SS")

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

yeah ı can take time for now but when ı wıll change time this format all old data was turning this time format.what can ı do for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

yeah ı can take time for now but when ı wıll change time this format all old data was turning this time format.what can ı do for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

Could you please elaborate on this ? An example would make us understand better.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 27, 2019 Sep 27, 2019

Copy link to clipboard

Copied

When ıam taking this format: datetimeFormat(now(), "YYYYMMDDHHNN SS") my all time is turning now time.But ı want to that for exp ıts today and ı want to only today's tıme lıke thıs.ı saw that all tıme worng.have u any ıdea?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 01, 2019 Oct 01, 2019

Copy link to clipboard

Copied

LATEST
(get_subscription.start_date, datetimeFormat(now(), "YYYYMMDDHHNN SS"))

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation