Search Result

Collapse
2 results in 0.0032 seconds.
Keywords
Members
Tags
date format
  •  

  • Brilstern
    started a topic Passing Date format on part of a control

    Passing Date format on part of a control

    Q: How do i use a date format on part of a control.

    I have a control
    Code:
    =[EAS] & "    Section: " & [Instrument]
    I want to pass a format on the EAS field to be YYYYMMDD.

    This is what I have used previosly but within a single control. How do i use this format on the EAS part of the control.
    Code:
    =Format(Date(),"YYYYMMDD")
    I have looked but nothing refers to only part...
    See more | Go to post

  • msjonathan
    started a topic Regex for retrieving date format

    Regex for retrieving date format

    hej hej,

    I can't succeed to produce a piece of code that does the following: If I have a string with a file name =>
    Code:
    nameOfFile{yyyy/mm/dd}.txt it becomes nameOfFile2010/06/28.txt
    It should be also possible for multiple dates
    Code:
    nameOfFile{yyyy/mm/dd}inMonth{mm/yyyy/dd}
    I tried to write a regex expression to retrieve the format from filename.
    Code:
    string[] dateFormats = Regex.Split(fileName, @"(\{.\})*");
    ...
    See more | Go to post
Working...