emhatek

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Epoch time to Time date convert #12777
    emhatek
    Participant

    Hi Mikhai,
    let me try and thanks for your advise.

    in reply to: Epoch time to Time date convert #12762
    emhatek
    Participant

    Dear All,
    currently i’m success to convert UNIX time to datetime format as Manjey Advice. below my formula that add to scrip database.

    public static double UnixTimeStampToDateTime(double unixTimeStamp)
    {
        // Unix timestamp is seconds past epoch
        DateTime dateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
        dateTime = dateTime.AddSeconds( unixTimeStamp );
        return dateTime.ToOADate();
    }
    in reply to: Epoch time to Time date convert #12761
    emhatek
    Participant

    Hi Mikhail,
    my rapid scada is V6

    in reply to: Epoch time to Time date convert #12760
    emhatek
    Participant

    Hi Manjey,
    thanks for your reply,
    epoch mean UNIX timestamp value in UTC.
    OPC channel value type is epch unix, and will be displayed in the HMI page in datetime format.

    in reply to: Channel Status and Channel Value #12524
    emhatek
    Participant

    Hi Mikhail,
    I found channel statuse table. I’m success to put “statuses” phrase inside the property table fot dynamic text foreground color. However, how to select the statuses color to second, third excep main.
    Please your advice.

    Regards
    Emhatek

Viewing 5 posts - 1 through 5 (of 5 total)